public class WrappedStatementJDK8 extends WrappedStatement
defaultFetchSize, doLocking, jndiName, spy, spyLogger, spyLoggingCategory
bundle
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
Constructor and Description |
---|
WrappedStatementJDK8(WrappedConnectionJDK8 lc,
Statement s,
boolean spy,
String jndiName,
boolean doLocking)
Constructor
|
Modifier and Type | Method and Description |
---|---|
long[] |
executeLargeBatch() |
long |
executeLargeUpdate(String sql) |
long |
executeLargeUpdate(String sql,
int autoGeneratedKeys) |
long |
executeLargeUpdate(String sql,
int[] columnIndexes) |
long |
executeLargeUpdate(String sql,
String[] columnNames) |
long |
getLargeMaxRows() |
long |
getLargeUpdateCount() |
void |
setLargeMaxRows(long max) |
protected WrappedResultSet |
wrapResultSet(ResultSet resultSet,
boolean spy,
String jndiName,
boolean doLocking)
Wrap ResultSet
|
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, unregisterResultSet
isWrapperFor, unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isWrapperFor, unwrap
public WrappedStatementJDK8(WrappedConnectionJDK8 lc, Statement s, boolean spy, String jndiName, boolean doLocking)
lc
- The connections
- The statementspy
- The spy valuejndiName
- The jndi namedoLocking
- Do lockingprotected WrappedResultSet wrapResultSet(ResultSet resultSet, boolean spy, String jndiName, boolean doLocking)
wrapResultSet
in class WrappedStatement
resultSet
- The ResultSetspy
- The spy valuejndiName
- The jndi namedoLocking
- Do lockingpublic long getLargeUpdateCount() throws SQLException
SQLException
public void setLargeMaxRows(long max) throws SQLException
SQLException
public long getLargeMaxRows() throws SQLException
SQLException
public long[] executeLargeBatch() throws SQLException
SQLException
public long executeLargeUpdate(String sql) throws SQLException
SQLException
public long executeLargeUpdate(String sql, int autoGeneratedKeys) throws SQLException
SQLException
public long executeLargeUpdate(String sql, int[] columnIndexes) throws SQLException
SQLException
public long executeLargeUpdate(String sql, String[] columnNames) throws SQLException
SQLException
Copyright © 2021 JBoss by Red Hat. All rights reserved.