
public class WrappedConnectionJDK7 extends WrappedConnection
jndiName, spy, spyLoggerbundle| 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, 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, unwrappublic 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 WrappedConnectionstatement - The statementspy - The spy valuejndiName - The jndi nameprotected WrappedPreparedStatement wrapPreparedStatement(java.sql.PreparedStatement statement, boolean spy, java.lang.String jndiName)
wrapPreparedStatement in class WrappedConnectionstatement - The statementspy - The spy valuejndiName - The jndi nameprotected WrappedCallableStatement wrapCallableStatement(java.sql.CallableStatement statement, boolean spy, java.lang.String jndiName)
wrapCallableStatement in class WrappedConnectionstatement - The statementspy - The spy valuejndiName - The jndi namepublic void setSchema(java.lang.String schema)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getSchema()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void abort(java.util.concurrent.Executor executor)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setNetworkTimeout(java.util.concurrent.Executor executor,
int milliseconds)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getNetworkTimeout()
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2014 IronJacamar (http://www.ironjacamar.org)