This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread 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 Java 8 in Action this week in the Java 8 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Inner Object Loading issue
 
Similar Threads
Parent child join query
Foreign key must have same number of columns as the referenced primary key
Hibernate generating queries with duplicate columns
Hibernate: Foreign key must have same number of columns as the referenced primary key
Common DAO layer Code Base - Hibernate Mapping XML changes