"killme2008" wrote : you have to try "Extended Persistence Contexts and
Application Transactions",read the tutorial of jboss-ejb3-doc ,just like:
|
| @PersistenceContext(type=PersistenceContextType.EXTENDED) EntityManager em;
|
|
| by dennis
View the original post :
http://www.jboss
you have to try "Extended Persistence Contexts and Application
Transactions",see the tutorial of jboss-ejb3-doc ,just like:
@PersistenceContext(type=PersistenceContextType.EXTENDED) EntityManager em;
by dennis
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3
I get this exception when I try to request collection of related entities
(using EJB3 relations). When I try to access from local client (session bean)
everything is ok. But when I try to access from remote client I get the
exception...
Exception in thread "main" org.hibernate.LazyInitializati
Are you accessing your lazy collections within a single Transaction? If not,
that could be your problem...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3968057#3968057
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=396