@Beta public class PreparedStatementFactory extends org.apache.commons.pool.BaseKeyedPoolableObjectFactory<String,PreparedStatementImpl>
PreparedStatementImpls| Constructor and Description |
|---|
PreparedStatementFactory(ConnectionImpl connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroyObject(String key,
PreparedStatementImpl obj) |
PreparedStatementImpl |
makeObject(String key) |
public PreparedStatementFactory(ConnectionImpl connection)
connection - the connectionpublic void destroyObject(String key, PreparedStatementImpl obj) throws SQLException
destroyObject in interface org.apache.commons.pool.KeyedPoolableObjectFactory<String,PreparedStatementImpl>destroyObject in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory<String,PreparedStatementImpl>SQLExceptionpublic PreparedStatementImpl makeObject(String key) throws SQLException
makeObject in interface org.apache.commons.pool.KeyedPoolableObjectFactory<String,PreparedStatementImpl>makeObject in class org.apache.commons.pool.BaseKeyedPoolableObjectFactory<String,PreparedStatementImpl>SQLExceptionCopyright © 2012 Batoo Software & Consultancy. All Rights Reserved.