public class WrappedConnectionFactoryJDK8 extends Object implements WrappedConnectionFactory
Constructor and Description |
---|
WrappedConnectionFactoryJDK8()
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)
Wrap connection
|
public WrappedConnection createWrappedConnection(BaseWrapperManagedConnection mc, boolean spy, String jndiName)
createWrappedConnection
in interface WrappedConnectionFactory
mc
- The managed connectionspy
- The spy valuejndiName
- The jndi namepublic CachedPreparedStatement createCachedPreparedStatement(PreparedStatement ps) throws SQLException
createCachedPreparedStatement
in interface WrappedConnectionFactory
ps
- The prepared statementSQLException
- Thrown if an error occurspublic CachedCallableStatement createCachedCallableStatement(CallableStatement cs) throws SQLException
createCachedCallableStatement
in interface WrappedConnectionFactory
cs
- The callable statementSQLException
- Thrown if an error occursCopyright © 2014 IronJacamar (http://www.ironjacamar.org)