Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Entity is lost suddenly (Eclipselink?)

 
Manuel Lopez Blasi
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.




 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic