[jboss-user] [EJB 3.0] - Re: failed to lazily initialize a collection of role:

Wolfgang Knauf do-not-reply at jboss.com
Fri May 8 07:01:16 EDT 2009


Hi,

I assume that "getXXX()" is the relationship getter?

"getXXX().toString()" will probably output only the class name of the relationship list wrapper, but it will not force loading of the content. So you must do something so that the content is loaded, e.g. "getXXX().size().toString()"

Hope this helps

Wolfgang

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4229671#4229671

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4229671



More information about the jboss-user mailing list