File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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.

I agree. Here's the link:
subject: Entity is lost suddenly (Eclipselink?)
It's not a secret anymore!