1. Accessing parent table data forum.hibernate.orgDear Friends, I have 2 pojos and its mapping files as follows: public class OutsourcedProduct { private Long id; private Vendor toBeRepairedBy; private Set outsourcedProductReceiptList = new HashSet(); ...... ...... getters and setters } public class OutsourcedProductReceipt { private Long id; private OutsourcedProduct parentId; ...... ...... getters and setters } |