[jboss-user] [EJB 3.0] - Re: Howto fetch lazy relations before an entity is detached
do-not-reply at jboss.com
Fri Feb 16 12:18:38 EST 2007
I do have the same problem, need to iterate through the whole collection to make object available outside the persistence context. I am passing persistent object to web layer. With hibernate, according to the api, you can use Hibernate.initialize() to initialize your Collection. There doesn't seem to be anything planned in jpa for such task. Anyone knows ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017755#4017755
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017755
More information about the jboss-user