2d
revised Embedding applet inside xhtml
added 286 characters in body
2d
revised Embedding applet inside xhtml
added 374 characters in body
2d
asked Embedding applet inside xhtml
Apr
29
accepted Spring Hibernate "You cannot commit during a managed transaction!"
Apr
29
comment Spring Hibernate "You cannot commit during a managed transaction!"
It was this. JBoss was configured to use JTA by default. It's fixed now, thanks all.
Apr
29
awarded Yearling
Apr
29
awarded Yearling
Apr
29
comment Spring Hibernate "You cannot commit during a managed transaction!"
Yes I understand, sorry for basic question like this one, but how can I check exactly how am I opening connections myself ?
Apr
29
comment Spring Hibernate "You cannot commit during a managed transaction!"
Well the advantage of JBoss Seam is that it was possible to inject Spring Beans into Seam components using the @In annotation. That is not possible with CDI, so it might not be so good option for me to remove JBoss Seam right away.
Apr
29
revised Spring Hibernate "You cannot commit during a managed transaction!"
added 190 characters in body
Apr
29
comment Spring Hibernate "You cannot commit during a managed transaction!"
That connection bean is handling the user connection. Then with the aop configuration there are services method calls, and it end up by doing a commit. All is handled by Spring actually, I'm not opening/closing sessions. For JBoss Seam it is plan to remove it, but I'm doing things step by step. I'm close to make it work, only this managed connection problem remain.
Apr
29
revised Spring Hibernate "You cannot commit during a managed transaction!"
added 4530 characters in body
Apr
29
comment Spring Hibernate "You cannot commit during a managed transaction!"
@M.Deinum, how can I check if I open/close session myself ? But I don't think it is the case in my code, but maybe jsf 2.1 or jboss seam is opening/closing session ?
Apr
29
revised Spring Hibernate "You cannot commit during a managed transaction!"
added 22 characters in body
Apr
29
revised Spring Hibernate "You cannot commit during a managed transaction!"
added 1 character in body
Apr
29
revised Spring Hibernate "You cannot commit during a managed transaction!"
added 140 characters in body
Apr
29
comment Spring Hibernate "You cannot commit during a managed transaction!"
How do you see I'm using @Transactional ? Actually I'm not using this annotation, except in my tests.
Apr
29
revised Spring Hibernate "You cannot commit during a managed transaction!"
added 1065 characters in body
Apr
29
asked Spring Hibernate "You cannot commit during a managed transaction!"
Apr
14
awarded Caucus
1 2 3 4 5