Thank you. That worked. Now I have another related issue. I have 3.0 entity beans with the LAZY fetch setting that I am retrieving via the EntityManager I create from the EntityManagerFactory I acces via JNDI in the WAR. Using the local entity manager created from the factory, I lookup a user entity bean. When I call the getRoles() on the entity bean which should retrieve data from the user_role table LAZY'ily, I still get the 'failed to initialize a collection of role:...no session or session was closed'. Is there something else I need to do to get the bean to work?
Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923686#3923686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3923686 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
