Class LogicalPreparedStatement42
java.lang.Object
org.apache.derby.client.am.LogicalStatementEntity
org.apache.derby.client.am.LogicalPreparedStatement
org.apache.derby.client.am.LogicalPreparedStatement42
- All Implemented Interfaces:
AutoCloseable, PreparedStatement, Statement, Wrapper
JDBC 4.2 specific wrapper class for a Derby physical prepared statement.
-
Field Summary
Fields inherited from interface Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO -
Constructor Summary
ConstructorsConstructorDescriptionLogicalPreparedStatement42(PreparedStatement physicalPs, StatementKey stmtKey, StatementCacheInteractor cacheInteractor) Creates a new logical prepared statement. -
Method Summary
Methods inherited from class LogicalPreparedStatement
addBatch, addBatch, cancel, clearBatch, clearParameters, clearWarnings, execute, execute, execute, execute, execute, executeBatch, executeLargeUpdate, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMetaData, getMoreResults, getMoreResults, getParameterMetaData, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isPoolable, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setCursorName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setPoolable, setQueryTimeout, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURLMethods inherited from class LogicalStatementEntity
close, closeOnCompletion, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, getPhysCs, getPhysPs, isCloseOnCompletion, isLogicalEntityClosed, isWrapperFor, setLargeMaxRows, unwrapMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Statement
close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isCloseOnCompletion, isSimpleIdentifier, setLargeMaxRowsMethods inherited from interface Wrapper
isWrapperFor, unwrap
-
Constructor Details
-
LogicalPreparedStatement42
public LogicalPreparedStatement42(PreparedStatement physicalPs, StatementKey stmtKey, StatementCacheInteractor cacheInteractor) Creates a new logical prepared statement.- Parameters:
physicalPs- underlying physical statementstmtKey- key for the physical statementcacheInteractor- creating statement cache interactor- Throws:
IllegalArgumentException- ifcacheisnull
-
-
Method Details
-
setObject
- Throws:
SQLException
-
setObject
public void setObject(int parameterIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException - Throws:
SQLException
-