This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
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
Mysql auto generated PK used for another table and JPA
DAO hibernate/JPA, data missing
JPA with onetomany between two tables, each having compound primary keys
Edit primary key, if it's a foreign key
Outer join between 3 entities in HQL