Hi,

I've ported my application from JBoss 4.0.3SP1 to 4.0.4RC1.  Everything works, 
up until I try to do an INSERT/UPDATE/DELETE, when I get:

java.lang.RuntimeException: org.jboss.tm.JBossRollbackException: Unable to 
commit, tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=upney/137, 
BranchQual=, localId=137] status=STATUS_NO_TRANSACTION; - nested throwable: 
(org.hibernate.SessionException: Session is closed!)

My application uses sessionFactory.getCurrentSession(), and the application 
code has not be changed from 4.0.3SP1, apart from the necessary EJB3 spec 
changes.

Has Hibernate transaction/session handling changed in 4.0.4RC1?

Many thanks,


Tom.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925293#3925293

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925293


-------------------------------------------------------
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
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to