public class WrappedConnectionJDK7 extends WrappedConnection
jndiName, spy, spyLogger
Constructor and Description |
---|
WrappedConnectionJDK7(BaseWrapperManagedConnection mc,
boolean spy,
java.lang.String jndiName)
Create a new WrappedConnectionJDK7.
|
Modifier and Type | Method and Description |
---|---|
void |
abort(java.util.concurrent.Executor executor) |
int |
getNetworkTimeout() |
java.lang.String |
getSchema() |
void |
setNetworkTimeout(java.util.concurrent.Executor executor,
int milliseconds) |
void |
setSchema(java.lang.String schema) |
protected WrappedCallableStatement |
wrapCallableStatement(java.sql.CallableStatement statement,
boolean spy,
java.lang.String jndiName)
Wrap callable statement
|
protected WrappedPreparedStatement |
wrapPreparedStatement(java.sql.PreparedStatement statement,
boolean spy,
java.lang.String jndiName)
Wrap prepared statement
|
protected WrappedStatement |
wrapStatement(java.sql.Statement statement,
boolean spy,
java.lang.String jndiName)
Wrap statement
|
checkException, checkStatus, checkTransaction, clearWarnings, close, commit, createArrayOf, createBlob, createClob, createNClob, createSQLXML, createStatement, createStatement, createStatement, createStruct, getAutoCommit, getCatalog, getClientInfo, getClientInfo, getDataSource, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getUnderlyingConnection, getWarnings, getWrappedObject, getXAResource, isClosed, isReadOnly, isValid, isXA, lock, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setClientInfo, setClientInfo, setDataSource, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap, unlock
isWrapperFor, unwrap
public WrappedConnectionJDK7(BaseWrapperManagedConnection mc, boolean spy, java.lang.String jndiName)
mc
- the managed connectionspy
- The spy valuejndiName
- The jndi nameprotected WrappedStatement wrapStatement(java.sql.Statement statement, boolean spy, java.lang.String jndiName)
wrapStatement
in class WrappedConnection
statement
- The statementspy
- The spy valuejndiName
- The jndi nameprotected WrappedPreparedStatement wrapPreparedStatement(java.sql.PreparedStatement statement, boolean spy, java.lang.String jndiName)
wrapPreparedStatement
in class WrappedConnection
statement
- The statementspy
- The spy valuejndiName
- The jndi nameprotected WrappedCallableStatement wrapCallableStatement(java.sql.CallableStatement statement, boolean spy, java.lang.String jndiName)
wrapCallableStatement
in class WrappedConnection
statement
- The statementspy
- The spy valuejndiName
- The jndi namepublic void setSchema(java.lang.String schema) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getSchema() throws java.sql.SQLException
java.sql.SQLException
public void abort(java.util.concurrent.Executor executor) throws java.sql.SQLException
java.sql.SQLException
public void setNetworkTimeout(java.util.concurrent.Executor executor, int milliseconds) throws java.sql.SQLException
java.sql.SQLException
public int getNetworkTimeout() throws java.sql.SQLException
java.sql.SQLException
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)