geronimo-user mailing list archives

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


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

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

thanks in advance
View this message in context:
Sent from the Apache Geronimo - Users mailing list archive at

View raw message