• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

DAO hibernate/JPA, data missing

Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

    Bookmark Topic Watch Topic
  • New Topic