Package org.jboss.jca.adapters.jdbc.jdk7
Class WrappedStatementJDK7
java.lang.Object
org.jboss.jca.adapters.jdbc.JBossWrapper
org.jboss.jca.adapters.jdbc.WrappedStatement
org.jboss.jca.adapters.jdbc.jdk7.WrappedStatementJDK7
- All Implemented Interfaces:
Serializable,AutoCloseable,Statement,Wrapper,StatementAccess
WrappedStatementJDK7.
- Author:
- Jesper Pedersen
- See Also:
-
Field Summary
Fields inherited from class org.jboss.jca.adapters.jdbc.WrappedStatement
defaultFetchSize, doLocking, jndiName, spy, spyLogger, spyLoggingCategoryFields inherited from class org.jboss.jca.adapters.jdbc.JBossWrapper
bundleFields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO -
Constructor Summary
ConstructorsConstructorDescriptionWrappedStatementJDK7(WrappedConnectionJDK7 lc, Statement s, boolean spy, String jndiName, boolean doLocking) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected WrappedResultSetwrapResultSet(ResultSet resultSet, boolean spy, String jndiName, boolean doLocking) Wrap ResultSetMethods inherited from class org.jboss.jca.adapters.jdbc.WrappedStatement
addBatch, cancel, checkConfiguredQueryTimeout, checkException, checkState, checkTransaction, checkTransactionActive, clearBatch, clearWarnings, close, closeOnCompletion, closeResultSets, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUnderlyingStatement, getUpdateCount, getWarnings, getWrappedObject, internalClose, isClosed, isCloseOnCompletion, isPoolable, lock, registerResultSet, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, unlock, unregisterResultSetMethods inherited from class org.jboss.jca.adapters.jdbc.JBossWrapper
isWrapperFor, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.sql.Statement
enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isSimpleIdentifier, setLargeMaxRowsMethods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
WrappedStatementJDK7
public WrappedStatementJDK7(WrappedConnectionJDK7 lc, Statement s, boolean spy, String jndiName, boolean doLocking) Constructor- Parameters:
lc- The connections- The statementspy- The spy valuejndiName- The jndi namedoLocking- Do locking
-
-
Method Details
-
wrapResultSet
protected WrappedResultSet wrapResultSet(ResultSet resultSet, boolean spy, String jndiName, boolean doLocking) Wrap ResultSet- Specified by:
wrapResultSetin classWrappedStatement- Parameters:
resultSet- The ResultSetspy- The spy valuejndiName- The jndi namedoLocking- Do locking- Returns:
- The result
-