From: Gavin K. (JIRA) <no...@at...> - 2006-06-10 17:17:33
|
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 Assigned to: Steve Ebersole 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 |