
public class WrappedPreparedStatementJDK8 extends WrappedPreparedStatement
defaultFetchSize, jndiName, spy, spyLoggerbundleCLOSE_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)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
closeOnCompletion() |
long |
executeLargeUpdate() |
boolean |
isCloseOnCompletion() |
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)
Wrap the result set
|
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, getUnderlyingStatement, getWrappedObject, isClosed, isPoolable, 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, setPoolable, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURLaddBatch, cancel, checkConfiguredQueryTimeout, checkException, checkTransaction, checkTransactionActive, clearBatch, clearWarnings, close, 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, lock, registerResultSet, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout, unlock, unregisterResultSetisWrapperFor, unwrapclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddBatch, cancel, clearBatch, clearWarnings, close, 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, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeoutisWrapperFor, unwrappublic WrappedPreparedStatementJDK8(WrappedConnectionJDK8 lc, PreparedStatement s, boolean spy, String jndiName)
lc - The connections - The prepared statementspy - The spy valuejndiName - The jndi nameprotected WrappedResultSet wrapResultSet(ResultSet resultSet, boolean spy, String jndiName)
wrapResultSet in class WrappedStatementresultSet - The result setspy - The spy valuejndiName - The jndi namepublic void closeOnCompletion()
throws SQLException
SQLExceptionpublic boolean isCloseOnCompletion()
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)