Package org.jboss.jca.adapters.jdbc
Interface WrappedConnectionFactory
-
- All Known Implementing Classes:
WrappedConnectionFactoryJDK7,WrappedConnectionFactoryJDK8
public interface WrappedConnectionFactoryWrappedConnectionFactory.- Author:
- Adrian Brock, Jesper Pedersen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CachedCallableStatementcreateCachedCallableStatement(CallableStatement cs)Create a cached callable statementCachedPreparedStatementcreateCachedPreparedStatement(PreparedStatement ps)Create a cached prepared statementWrappedConnectioncreateWrappedConnection(BaseWrapperManagedConnection mc, boolean spy, String jndiName, boolean doLocking, ClassLoaderPlugin clp)Create a wrapped connection
-
-
-
Method Detail
-
createWrappedConnection
WrappedConnection createWrappedConnection(BaseWrapperManagedConnection mc, boolean spy, String jndiName, boolean doLocking, ClassLoaderPlugin clp)
Create a wrapped connection- Parameters:
mc- The managed connectionspy- The spy valuejndiName- The jndi namedoLocking- Do locking- Returns:
- The wrapped connection
-
createCachedPreparedStatement
CachedPreparedStatement createCachedPreparedStatement(PreparedStatement ps) throws SQLException
Create a cached prepared statement- Parameters:
ps- The prepared statement- Returns:
- The cached prepared statement
- Throws:
SQLException- Thrown if an error occurs
-
createCachedCallableStatement
CachedCallableStatement createCachedCallableStatement(CallableStatement cs) throws SQLException
Create a cached callable statement- Parameters:
cs- The callable statement- Returns:
- The cached callable statement
- Throws:
SQLException- Thrown if an error occurs
-
-