We were using Stateless session beans that themselves used the EntityManager to 
find, update and remove entity beans.  The stateless session beans were being 
used by JSP in our WAR. We were noticing some performance issues because our 
Entity beans were set to EAGER fetch.  So in order to use LAZY fetch, we needed 
to use a local EntityManager.  So we moved to using standard classes instead of 
the stateless session beans since we did not find a way to keep the returned 
entity bean attached to the EntityManager.

Is there another way of doing LAZY fetch on entities when the EntityManager 
used to retrieve the beans resides in a stateless session bean?

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to