Class ConnectionRollbackOnReturnInterceptor

  • All Implemented Interfaces:
    InvocationHandler

    public class ConnectionRollbackOnReturnInterceptor
    extends org.apache.tomcat.jdbc.pool.JdbcInterceptor
    This class represents a JDBC-Pool JDBC interceptor class which rollbacks the connections when they are returned to the pool, if the mode is autoCommit=true.
    • Field Summary

      • Fields inherited from class org.apache.tomcat.jdbc.pool.JdbcInterceptor

        CLOSE_VAL, EQUALS_VAL, GETCONNECTION_VAL, HASHCODE_VAL, ISCLOSED_VAL, ISVALID_VAL, ISWRAPPERFOR_VAL, properties, TOSTRING_VAL, UNWRAP_VAL
    • Constructor Detail

      • ConnectionRollbackOnReturnInterceptor

        public ConnectionRollbackOnReturnInterceptor()
    • Method Detail

      • reset

        public void reset​(org.apache.tomcat.jdbc.pool.ConnectionPool parent,
                          org.apache.tomcat.jdbc.pool.PooledConnection connection)
        Specified by:
        reset in class org.apache.tomcat.jdbc.pool.JdbcInterceptor