org.apache.commons.dbcp
public class PoolablePreparedStatement extends DelegatingPreparedStatement implements PreparedStatement
My PoolablePreparedStatement method returns me to my containing pool. (See PoolingConnection.)
Version: $Revision: 479137 $ $Date: 2006-11-25 08:51:48 -0700 (Sat, 25 Nov 2006) $
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