[jboss-user] [EJB 3.0] - Re: failed to lazily initialize a collection of role:
kangjw
do-not-reply at jboss.com
Fri May 8 02:23:51 EDT 2009
for the limitation of only one or zero relation can set fetchtype as eager.so in some case, fetch=FetchType.EAGER is useful. but I have try to invoke getXXXXX() within the session, it still throw the same exception.
At it happens, I want use system out to see the result just like System.out.println(getXXXX()), and run my test case again,oh my god ,it passed. what happen? I then try to call getXXXX().toString(), it still work.
Would anybody tell me what it is going on. thank you?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229612#4229612
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229612
More information about the jboss-user
mailing list