[jboss-user] [JBoss Seam] - Re: Lazy loading exception with Seam EM

trouby do-not-reply at jboss.com
Tue Jan 1 07:02:59 EST 2008


Uh, my mistake, EM is bound per conversation,

So there is no solution for this need?
The logged user may have many lazy relationships which are sometime accessed directly by the view,

I find myself doing stuff like:
loggedUser.getSomeRelationShip().size();

before outjecting to the session so the information will be available for the view later on, but this is not elegant solution,


Thanks,

Asaf.

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

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



More information about the jboss-user mailing list