This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Object Relational Mapping and the fly likes Inner Object Loading issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Inner Object Loading issue" Watch "Inner Object Loading issue" New topic
Author

Inner Object Loading issue

Santosh Raveendran
Ranch Hand

Joined: Jun 29, 2008
Posts: 83

Hi Team,

i am new to hibernate , i am facing a issue in fetcting the inner objects of a particular object,

i am having a object A which has a instance variable age which is a integer and two contains two objects B and C , when i am loading object A the instance variable age is getting populated correctly but B and C instances are getting
created with new object ids but the values are not getting populated , i am using hibernate 3.

please find the mapping for class A below.


Regards


SCJP 1.4,SCWCD5, SCBCD5
Thanks, Santhosh
 
jQuery in Action, 2nd edition
 
subject: Inner Object Loading issue