Package org.jboss.jca.adapters.jdbc
Interface WrappedConnectionFactory
- All Known Implementing Classes:
WrappedConnectionFactoryJDK7,WrappedConnectionFactoryJDK8
public interface WrappedConnectionFactory
WrappedConnectionFactory.
- Author:
- Adrian Brock, Jesper Pedersen
-
Method Summary
Modifier and TypeMethodDescriptionCreate a cached callable statementCreate a cached prepared statementcreateWrappedConnection(BaseWrapperManagedConnection mc, boolean spy, String jndiName, boolean doLocking, ClassLoaderPlugin clp) Create a wrapped connection
-
Method Details
-
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
Create a cached prepared statement- Parameters:
ps- The prepared statement- Returns:
- The cached prepared statement
- Throws:
SQLException- Thrown if an error occurs
-
createCachedCallableStatement
Create a cached callable statement- Parameters:
cs- The callable statement- Returns:
- The cached callable statement
- Throws:
SQLException- Thrown if an error occurs
-