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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Inner Object Loading issue
 
Similar Threads
Parent child join query
Common DAO layer Code Base - Hibernate Mapping XML changes
Hibernate: Foreign key must have same number of columns as the referenced primary key
Hibernate generating queries with duplicate columns
Foreign key must have same number of columns as the referenced primary key