
public class WrappedConnectionFactoryJDK7 extends Object implements WrappedConnectionFactory
| Constructor and Description |
|---|
WrappedConnectionFactoryJDK7()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
CachedCallableStatement |
createCachedCallableStatement(CallableStatement cs)
Create a cached callable statement
|
CachedPreparedStatement |
createCachedPreparedStatement(PreparedStatement ps)
Create a cached prepared statement
|
WrappedConnection |
createWrappedConnection(BaseWrapperManagedConnection mc,
boolean spy,
String jndiName,
boolean doLocking)
Wrap connection
|
public WrappedConnection createWrappedConnection(BaseWrapperManagedConnection mc, boolean spy, String jndiName, boolean doLocking)
createWrappedConnection in interface WrappedConnectionFactorymc - The managed connectionspy - The spy valuejndiName - The jndi namedoLocking - Do lockingpublic CachedPreparedStatement createCachedPreparedStatement(PreparedStatement ps) throws SQLException
createCachedPreparedStatement in interface WrappedConnectionFactoryps - The prepared statementSQLException - Thrown if an error occurspublic CachedCallableStatement createCachedCallableStatement(CallableStatement cs) throws SQLException
createCachedCallableStatement in interface WrappedConnectionFactorycs - The callable statementSQLException - Thrown if an error occursCopyright © 2014 IronJacamar (http://www.ironjacamar.org)