
public class WrappedPreparedStatementJDK8 extends WrappedPreparedStatement
defaultFetchSize, doLocking, jndiName, spy, spyLogger, spyLoggingCategorybundleCLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO| Constructor and Description |
|---|
WrappedPreparedStatementJDK8(WrappedConnectionJDK8 lc,
PreparedStatement s,
boolean spy,
String jndiName,
boolean doLocking)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
long[] |
executeLargeBatch() |
long |
executeLargeUpdate() |
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) |
void |
setObject(int parameterIndex,
Object x,
SQLType targetSqlType) |
void |
setObject(int parameterIndex,
Object x,
SQLType targetSqlType,
int scaleOrLength) |
protected WrappedResultSet |
wrapResultSet(ResultSet resultSet,
boolean spy,
String jndiName,
boolean doLocking)
Wrap the result set
|
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, getUnderlyingStatement, getWrappedObject, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURLaddBatch, 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, getUpdateCount, getWarnings, internalClose, isClosed, isCloseOnCompletion, isPoolable, lock, registerResultSet, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, unlock, unregisterResultSetisWrapperFor, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutisWrapperFor, unwrappublic WrappedPreparedStatementJDK8(WrappedConnectionJDK8 lc, PreparedStatement s, boolean spy, String jndiName, boolean doLocking)
lc - The connections - The prepared statementspy - The spy valuejndiName - The jndi namedoLocking - Do lockingprotected WrappedResultSet wrapResultSet(ResultSet resultSet, boolean spy, String jndiName, boolean doLocking)
wrapResultSet in class WrappedStatementresultSet - The result setspy - The spy valuejndiName - The jndi namedoLocking - Do lockingpublic long getLargeUpdateCount()
throws SQLException
SQLExceptionpublic void setLargeMaxRows(long max)
throws SQLException
SQLExceptionpublic long getLargeMaxRows()
throws SQLException
SQLExceptionpublic long[] executeLargeBatch()
throws SQLException
SQLExceptionpublic long executeLargeUpdate(String sql) throws SQLException
SQLExceptionpublic long executeLargeUpdate(String sql, int autoGeneratedKeys) throws SQLException
SQLExceptionpublic long executeLargeUpdate(String sql, int[] columnIndexes) throws SQLException
SQLExceptionpublic long executeLargeUpdate(String sql, String[] columnNames) throws SQLException
SQLExceptionpublic void setObject(int parameterIndex,
Object x,
SQLType targetSqlType,
int scaleOrLength)
throws SQLException
setObject in interface PreparedStatementsetObject in class WrappedPreparedStatementSQLExceptionpublic void setObject(int parameterIndex,
Object x,
SQLType targetSqlType)
throws SQLException
setObject in interface PreparedStatementsetObject in class WrappedPreparedStatementSQLExceptionpublic long executeLargeUpdate()
throws SQLException
SQLExceptionCopyright © 2014 IronJacamar (http://www.ironjacamar.org)