• Post Reply Bookmark Topic Watch Topic
  • New Topic

DAO hibernate/JPA, data missing

assaf aharoni
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have 3 classes, PerchaseOrderHeader , PerchaseOrderLines, and ItemCrossReference
My problem accurs when i add the following lines in ItemCrossReference.class and in PerchaseOrderLines.class, just in order to have another level in my objects hierarchy.
private Collection<PerchaseOrderLines> perchaseOrderLinesList;

@JoinColumns( {
@JoinColumn(name = "POL_ORDER_CMP", referencedColumnName = "REF_CUST_CMP_CODE",insertable=false, updatable=false),
@JoinColumn(name = "POL_ITEM_CODE", referencedColumnName = "REF_CUST_REF_CODE",insertable=false, updatable=false) })
private ItemCrossReference itemCrossReference;

my DAO class does not retrieve the object with all the data i have in depth.

please help

my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!