Class PoolablePreparedStatementStub

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.sql.PreparedStatement, java.sql.Statement, java.sql.Wrapper

    class PoolablePreparedStatementStub
    extends PoolablePreparedStatement
    A PoolablePreparedStatement stub since activate and passivate are declared protected and we need to be able to call them within this package.
    Version:
    $Revision: 479137 $ $Date: 2006-11-25 10:51:48 -0500 (Sat, 25 Nov 2006) $
    • Constructor Detail

      • PoolablePreparedStatementStub

        public PoolablePreparedStatementStub​(java.sql.PreparedStatement stmt,
                                             java.lang.Object key,
                                             org.apache.commons.pool.KeyedObjectPool pool,
                                             java.sql.Connection conn)
        Constructor
        Parameters:
        stmt - my underlying PreparedStatement
        key - my key" as used by KeyedObjectPool
        pool - the KeyedObjectPool from which I was obtained.
        conn - the Connection from which I was created