This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes ORM Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "ORM Problem" Watch "ORM Problem" New topic
Author

ORM Problem

assaf aharoni
Greenhorn

Joined: Aug 08, 2010
Posts: 9

When i try to get the DeliveryHeader with all the data in the object depth, i get the DeliveryHeader with data but the perchaseOrderLinesList stays empty.
if i take the itemCrossReference out then the data retrieves fine.
Please Help !!!

method calling DAO in Action Class:


the DAO Code:


and the Domain Model:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ORM Problem
 
Similar Threads
Edit primary key, if it's a foreign key
DAO hibernate/JPA, data missing
JPA with onetomany between two tables, each having compound primary keys
Outer join between 3 entities in HQL
Mysql auto generated PK used for another table and JPA