org.apache.commons.dbcp
public class PoolablePreparedStatement extends DelegatingPreparedStatement implements PreparedStatement
My PoolablePreparedStatement method returns me to my containing pool. (See PoolingConnection.)
Version: $Revision: 1.11 $ $Date: 2004/03/07 10:50:37 $
See Also: PoolingConnection
Constructor Summary | |
---|---|
PoolablePreparedStatement(PreparedStatement stmt, Object key, KeyedObjectPool pool, Connection conn)
Constructor |
Method Summary | |
---|---|
void | close()
Return me to my pool. |
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