wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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:
 
jQuery in Action, 2nd edition
 
subject: ORM Problem
 
Similar Threads
Outer join between 3 entities in HQL
DAO hibernate/JPA, data missing
JPA with onetomany between two tables, each having compound primary keys
Mysql auto generated PK used for another table and JPA
Edit primary key, if it's a foreign key