[jboss-user] [JCA/JBoss] - Re: Possible failure to cleanup connection when returned to

tapina do-not-reply at jboss.com
Thu Jun 11 07:54:15 EDT 2009


Pretty sure there's an error in BaseWrapperManagedConnection.cleanup:


  |          if (jdbcTransactionIsolation != transactionIsolation)
  |          {
  |             try
  |             {
  |                con.setTransactionIsolation(jdbcTransactionIsolation);
  |                jdbcTransactionIsolation = transactionIsolation;
  |             }
  |             catch (SQLException e)
  |             {
  |                mcf.log.warn("Error resetting transaction isolation ", e);
  |             }
  |          }
  | 
Surely the first statement in the try-block should be con.setTransactionIsolation(transactionIsolation);?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4236986#4236986

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4236986



More information about the jboss-user mailing list