Classic example : 
ENTITIES:

Customer 
Product
Photoproduct
Order
LineOrder. 

Order contain :
@OneToMany(mappedby "order")
 List <OrderLine> linesorder

LineOrder has: a
 @ManyToOne 
Product product

Product has: 
@OneToMany
List <Photoproduct> listphoto






--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/jpa-what-use-for-resolve-the-Lazy-loading-problem-tp4679732p4679736.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to