
public class WrappedConnectionJDK7 extends WrappedConnection
jndiName, spy, spyLoggerbundleTRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| Constructor and Description |
|---|
WrappedConnectionJDK7(BaseWrapperManagedConnection mc,
boolean spy,
String jndiName)
Create a new WrappedConnectionJDK7.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abort(Executor executor) |
int |
getNetworkTimeout() |
String |
getSchema() |
void |
setNetworkTimeout(Executor executor,
int milliseconds) |
void |
setSchema(String schema) |
protected WrappedCallableStatement |
wrapCallableStatement(CallableStatement statement,
boolean spy,
String jndiName)
Wrap callable statement
|
protected WrappedPreparedStatement |
wrapPreparedStatement(PreparedStatement statement,
boolean spy,
String jndiName)
Wrap prepared statement
|
protected WrappedStatement |
wrapStatement(Statement statement,
boolean spy,
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, invalidate, 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, unlockisWrapperFor, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWrapperFor, unwrappublic WrappedConnectionJDK7(BaseWrapperManagedConnection mc, boolean spy, String jndiName)
mc - the managed connectionspy - The spy valuejndiName - The jndi nameprotected WrappedStatement wrapStatement(Statement statement, boolean spy, String jndiName)
wrapStatement in class WrappedConnectionstatement - The statementspy - The spy valuejndiName - The jndi nameprotected WrappedPreparedStatement wrapPreparedStatement(PreparedStatement statement, boolean spy, String jndiName)
wrapPreparedStatement in class WrappedConnectionstatement - The statementspy - The spy valuejndiName - The jndi nameprotected WrappedCallableStatement wrapCallableStatement(CallableStatement statement, boolean spy, String jndiName)
wrapCallableStatement in class WrappedConnectionstatement - The statementspy - The spy valuejndiName - The jndi namepublic void setSchema(String schema) throws SQLException
SQLExceptionpublic String getSchema() throws SQLException
SQLExceptionpublic void abort(Executor executor) throws SQLException
SQLExceptionpublic void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException
SQLExceptionpublic int getNetworkTimeout()
throws SQLException
SQLExceptionCopyright © 2014 IronJacamar (http://www.ironjacamar.org)