geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Mazan <win...@wp.pl>
Subject Force to load subobjects in OpenJPA
Date Mon, 26 Nov 2007 16:04:19 GMT

Hi

I got one class Product which contains a few ArayLists of different
subobjects. Default fetch policy is set to LAZY, but sometimes I have to 
use Product with its all subobjects. I'm accessing remotely to my DAO layer
(using @Remote interfaces) so findBy.... returns "detached" object by
default. 

How can I force DAO layer (that uses EntityManager) to initialize found
object with all its subobjects ?

thanks in advance
Beniamin
-- 
View this message in context: http://www.nabble.com/Force-to-load-subobjects-in-OpenJPA-tf4876000s134.html#a13952442
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message