]
Steve Ebersole closed HHH-1648.
-------------------------------
Closing stale resolved issues
Exception while resuming a transaction is silently eaten
---------------------------------------------------------
Key: HHH-1648
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1648
Project: Hibernate Core
Issue Type: Bug
Affects Versions: 3.2.0 cr1
Reporter: Niels Harremoës
Assignee: Emmanuel Bernard
Fix For: 3.2.0.cr2
Original Estimate: 0.5h
Remaining Estimate: 0.5h
In org.hibernate.engine.transaction.Isolater.JtaDelegate.delegateWork, we find this
code:
...
finally {
if ( surroundingTransaction != null ) {
try {
transactionManager.resume( surroundingTransaction );
if ( log.isDebugEnabled() ) {log.debug( "surrounding JTA transaction resumed
[" + surroundingTransaction + "]" ); }
} catch( Throwable t ) {
if ( !caughtException ) {
new HibernateException( "unable to resume previously suspended
transaction", t );
}
}
}
}
The last line should probably be
throw new HibernateException( "unable to resume previously suspended
transaction", t );
- currently, any exception thrown by resume() will be silently eaten.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: