From: Gavin K. (JIRA) <no...@at...> - 2006-06-11 17:05:34
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1827?page=all ] Gavin King closed HHH-1827: --------------------------- Resolution: Fixed Assign To: Gavin King (was: Steve Ebersole) Fixed. Wooohooo, my first "svn ci"! > JTATransactionFactory.isTransactionInProgress() hides NamingException > --------------------------------------------------------------------- > > Key: HHH-1827 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1827 > Project: Hibernate3 > Type: Bug > Components: core > Reporter: Gavin King > Assignee: Gavin King > > > This code: > try { > ut = ( UserTransaction ) context.lookup( utName ); > } > catch ( NamingException e ) { > throw new TransactionException( "Unable to locate UserTransaction to check status" ); > } > Should be: > try { > ut = ( UserTransaction ) context.lookup( utName ); > } > catch ( NamingException e ) { > throw new TransactionException( "Unable to locate UserTransaction to check status" , e); > } -- 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 |