[ http://jira.jboss.com/jira/browse/JBAS-1576?page=history ]
Scott M Stark updated JBAS-1576:
--------------------------------
Assign To: Steve Ebersole
Priority: Major (was: Critical)
> Hibernate TransactionSynch should rollback transaction on session.flush
> exception
> ---------------------------------------------------------------------------------
>
> Key: JBAS-1576
> URL: http://jira.jboss.com/jira/browse/JBAS-1576
> Project: JBoss Application Server
> Type: Bug
> Components: Hibernate service
> Versions: JBossAS-4.0.1 Final, JBossAS-4.0.0 Final, JBossAS-4.0.1RC1,
> JBossAS-4.0.1 SP1
> Environment: jboss 4, hibernate 2.2
> Reporter: Armin Haaf
> Assignee: Steve Ebersole
>
>
> org.jboss.hibernate.session.TransactionSynch only logs a error on session
> flush in beforeCompletion:
> try
> {
> log.trace("Flushing Session");
> session.flush();
> }
> catch(Throwable t)
> {
> log.warn("Error flushing session");
> }
> This leads to inconsistent transactions. A transaction is commited, but
> should be rollbacked on a session.flush problem. In my opinion it should
> throw a RuntimeException to rollback the transaction.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development