Package org.jboss.jca.adapters.jdbc.jdk8
Class WrappedConnectionJDK8
- java.lang.Object
-
- org.jboss.jca.adapters.jdbc.JBossWrapper
-
- org.jboss.jca.adapters.jdbc.WrappedConnection
-
- org.jboss.jca.adapters.jdbc.jdk8.WrappedConnectionJDK8
-
- All Implemented Interfaces:
Serializable,AutoCloseable,Connection,Wrapper
public class WrappedConnectionJDK8 extends WrappedConnection
WrappedConnectionJDK8.- Author:
- Jesper Pedersen
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.jboss.jca.adapters.jdbc.WrappedConnection
doLocking, jndiName, spy, spyLogger
-
Fields inherited from class org.jboss.jca.adapters.jdbc.JBossWrapper
bundle
-
Fields inherited from interface java.sql.Connection
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE
-
-
Constructor Summary
Constructors Constructor Description WrappedConnectionJDK8(BaseWrapperManagedConnection mc, boolean spy, String jndiName, boolean doLocking, ClassLoaderPlugin clp)Create a new WrappedConnectionJDK8.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WrappedCallableStatementwrapCallableStatement(CallableStatement statement, boolean spy, String jndiName, boolean doLocking)Wrap callable statementprotected WrappedPreparedStatementwrapPreparedStatement(PreparedStatement statement, boolean spy, String jndiName, boolean doLocking)Wrap prepared statementprotected WrappedStatementwrapStatement(Statement statement, boolean spy, String jndiName, boolean doLocking)Wrap statement-
Methods inherited from class org.jboss.jca.adapters.jdbc.WrappedConnection
abort, checkException, checkStatus, checkTransaction, clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getDataSource, getHoldability, getMetaData, getNetworkTimeout, getSchema, getTransactionIsolation, getTypeMap, getUnderlyingConnection, getWarnings, getWrappedObject, getXAResource, invalidate, isClosed, isReadOnly, isValid, isWrapperFor, isXA, lock, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setDataSource, setHoldability, setNetworkTimeout, setReadOnly, setSavepoint, setSavepoint, setSchema, setTransactionIsolation, setTypeMap, unlock, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.Connection
beginRequest, endRequest, setShardingKey, setShardingKey, setShardingKeyIfValid, setShardingKeyIfValid
-
-
-
-
Constructor Detail
-
WrappedConnectionJDK8
public WrappedConnectionJDK8(BaseWrapperManagedConnection mc, boolean spy, String jndiName, boolean doLocking, ClassLoaderPlugin clp)
Create a new WrappedConnectionJDK8.- Parameters:
mc- the managed connectionspy- The spy valuejndiName- The jndi namedoLocking- Do locking
-
-
Method Detail
-
wrapStatement
protected WrappedStatement wrapStatement(Statement statement, boolean spy, String jndiName, boolean doLocking)
Wrap statement- Specified by:
wrapStatementin classWrappedConnection- Parameters:
statement- The statementspy- The spy valuejndiName- The jndi namedoLocking- Do locking- Returns:
- The result
-
wrapPreparedStatement
protected WrappedPreparedStatement wrapPreparedStatement(PreparedStatement statement, boolean spy, String jndiName, boolean doLocking)
Wrap prepared statement- Specified by:
wrapPreparedStatementin classWrappedConnection- Parameters:
statement- The statementspy- The spy valuejndiName- The jndi namedoLocking- Do locking- Returns:
- The result
-
wrapCallableStatement
protected WrappedCallableStatement wrapCallableStatement(CallableStatement statement, boolean spy, String jndiName, boolean doLocking)
Wrap callable statement- Specified by:
wrapCallableStatementin classWrappedConnection- Parameters:
statement- The statementspy- The spy valuejndiName- The jndi namedoLocking- Do locking- Returns:
- The result
-
-