aspose file tools*
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
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Inner Object Loading issue