[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1648) Exception while resuming a transaction is silently eaten
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Mar 21 13:00:27 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list