public class WrappedPreparedStatementJDK8 extends WrappedPreparedStatement
defaultFetchSize, doLocking, jndiName, spy, spyLogger, spyLoggingCategory
bundle
Constructor and Description |
---|
WrappedPreparedStatementJDK8(WrappedConnectionJDK8 lc,
java.sql.PreparedStatement s,
boolean spy,
java.lang.String jndiName,
boolean doLocking)
Constructor
|
Modifier and Type | Method and Description |
---|---|
long[] |
executeLargeBatch() |
long |
executeLargeUpdate() |
long |
executeLargeUpdate(java.lang.String sql) |
long |
executeLargeUpdate(java.lang.String sql,
int autoGeneratedKeys) |
long |
executeLargeUpdate(java.lang.String sql,
int[] columnIndexes) |
long |
executeLargeUpdate(java.lang.String sql,
java.lang.String[] columnNames) |
long |
getLargeMaxRows() |
long |
getLargeUpdateCount() |
void |
setLargeMaxRows(long max) |
void |
setObject(int parameterIndex,
java.lang.Object x,
java.sql.SQLType targetSqlType) |
void |
setObject(int parameterIndex,
java.lang.Object x,
java.sql.SQLType targetSqlType,
int scaleOrLength) |
protected WrappedResultSet |
wrapResultSet(java.sql.ResultSet resultSet,
boolean spy,
java.lang.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, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
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, getUpdateCount, getWarnings, 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
addBatch, 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, setQueryTimeout
public WrappedPreparedStatementJDK8(WrappedConnectionJDK8 lc, java.sql.PreparedStatement s, boolean spy, java.lang.String jndiName, boolean doLocking)
lc
- The connections
- The prepared statementspy
- The spy valuejndiName
- The jndi namedoLocking
- Do lockingprotected WrappedResultSet wrapResultSet(java.sql.ResultSet resultSet, boolean spy, java.lang.String jndiName, boolean doLocking)
wrapResultSet
in class WrappedStatement
resultSet
- The result setspy
- The spy valuejndiName
- The jndi namedoLocking
- Do lockingpublic long getLargeUpdateCount() throws java.sql.SQLException
java.sql.SQLException
public void setLargeMaxRows(long max) throws java.sql.SQLException
java.sql.SQLException
public long getLargeMaxRows() throws java.sql.SQLException
java.sql.SQLException
public long[] executeLargeBatch() throws java.sql.SQLException
java.sql.SQLException
public long executeLargeUpdate(java.lang.String sql) throws java.sql.SQLException
java.sql.SQLException
public long executeLargeUpdate(java.lang.String sql, int autoGeneratedKeys) throws java.sql.SQLException
java.sql.SQLException
public long executeLargeUpdate(java.lang.String sql, int[] columnIndexes) throws java.sql.SQLException
java.sql.SQLException
public long executeLargeUpdate(java.lang.String sql, java.lang.String[] columnNames) throws java.sql.SQLException
java.sql.SQLException
public void setObject(int parameterIndex, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException
java.sql.SQLException
public void setObject(int parameterIndex, java.lang.Object x, java.sql.SQLType targetSqlType) throws java.sql.SQLException
java.sql.SQLException
public long executeLargeUpdate() throws java.sql.SQLException
java.sql.SQLException
Copyright © 2014 IronJacamar (http://www.ironjacamar.org)