This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Entity is lost suddenly (Eclipselink?) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Entity is lost suddenly (Eclipselink?)" Watch "Entity is lost suddenly (Eclipselink?)" New topic

Entity is lost suddenly (Eclipselink?)

Manuel Lopez Blasi

Joined: Nov 16, 2012
Posts: 1
Hi, how is everybody doing?

i'm experiencing a weird/odd behaviour , i'm working on a project wich is a webapp JEE deploying in glassfish 3.1.1 using Eclipselink 2.3 persistence services, everything on eclipse, windows 7 professional 64 bit, jdk+jvm 64 bit.
I get a business object to work with, first i set the corresponding entity, everything is fine up to the invocation of a method wich if i debug inside suddenly entity becomes null. Before this invocation entity is instantiated, quite weird (!!!).

The thing is this:

now we go debugging inside the business object (registrableInLiquidadorBusiness):

I must add that the object entity is a variable declared in the father of this business, from wich it extends.

So i don't know what else to try, i looked at every single line of code that has to do with this for finding any mistake to no avail.
Next step would probably be donwloading Eclipselink source and debug it to see what's going on behind the scenes (??),
tough i don't even know if it has anything to do with this.

Any advice would be greatly appreciated.

Cheerz and thanks a lot.

GeeCON Prague 2014
subject: Entity is lost suddenly (Eclipselink?)