tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mauro2java2011 <mauro2java2...@gmail.com>
Subject Re: jpa what use for resolve the Lazy loading problem.
Date Sun, 14 Aug 2016 10:13:14 GMT
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.

Mime
View raw message