Use the source Luke :-)

ManagedConnection.cleanup() is invoked as part of the JCA spec
contract when a connection is returned to the pool.


  | org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection
  | 
  |    public void cleanup() throws ResourceException
  |    {
  | <snipped/>
  | 
  |       //reset all the properties we know about to defaults.
  |       synchronized (stateLock)
  |       {
  |          jdbcAutoCommit = true;
  |          jdbcReadOnly = readOnly;
  |          if (jdbcTransactionIsolation != transactionIsolation)
  |          {
  |             try
  |             {
  |                con.setTransactionIsolation(jdbcTransactionIsolation);
  |                jdbcTransactionIsolation = transactionIsolation;
  |             }
  |             catch (SQLException e)
  |             {
  |                mcf.log.warn("Error resetting transaction isolation ", e);
  |             }
  |          }
  |       }
  |    }
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029424
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to