|
Ola pessoal,
algu�m j� teve o problema
abaixo:
java.lang.IllegalStateException: Persistent collection updates need to occur in the same transaction as the collection was obtained. Either: 1. put the update in an EJB business method, or 2. wrap a UserTransaction around the access, or 3. use the UserTransactionFilter to protect the entire servlet. at com.caucho.persist.PersistentList.transactionMismatch(PersistentList.java:269) at _ejb.surya.corporateboss.ejb.UserBean__QPersist$_caucho_groups__class.add(UserBean__QPersist.java:433) at java.util.AbstractList.add(AbstractList.java:87) at _teste__jsp._jspService(/portal/teste.jsp:37) at com.caucho.jsp.JavaPage.service(JavaPage.java:74) at com.caucho.jsp.Page.subservice(Page.java:485) at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:179) at com.caucho.server.http.Invocation.service(Invocation.java:288) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:132) at com.caucho.server.http.ServletServer.serviceTop(ServletServer.java:937) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:213) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:158) at com.caucho.server.TcpConnection.run(TcpConnection.java:140) at java.lang.Thread.run(Thread.java:484) tive esse erro quando executei: user.getGroups().add(group); na documenta��o do Resin ele mostra fazer dessa forma. se algu�m tiver alguma id�ia de como fa�o pra resolver esse problema ficarei muito grato! Maykel |
- Re: [enterprise-list] Problemas com Persist�ncia. Maykel Tres
- Re: [enterprise-list] Problemas com Persist�ncia. Sven van �t Veer
