[jboss-user] [EJB 3.0] - Re: Lazy loading for OneToOne association (entities share th
hoomey
do-not-reply at jboss.com
Wed Aug 9 13:25:16 EDT 2006
Hi,
I'm experiencing exactly the same problem.
In a bidirectional 1:1 relation the owned entity gets eagerly loaded even though it has a LAZY fetch type defined..
So far I was unable to figure out a working solution, but I came across the following:
http://weblogs.java.net/blog/cayhorstmann/archive/2006/06/the_innermost_s.html
This seems promising, as well as the article mentioned there:
http://www.oracle.com/technology/products/ias/toplink/jpa/howto/java-se-usage.html
I'm going to give it a try tomorrow, hope it helps...
BR,
hoomey
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964108#3964108
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964108
More information about the jboss-user
mailing list