stateless « DAO « JPA Q&A





1. DAO as EJB3 stateless and lazy loading    forum.hibernate.org

Dear Hibernate guys, I am using Hibernate and Jboss since few weeks. After to have read documentations and tutorials, I based my architecture on genericEJBDAO pattern. My DAOs are ejb3 stateless components (on Jboss AS). My problem is: I am not able to use lazy objects with my DAOs (always org.hibernate.LazyInitializationException). Are there people on the forum who had the same ...