Package org.apache.derby.client.am
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:
java.lang.AutoCloseable
,java.sql.PreparedStatement
,java.sql.Statement
,java.sql.Wrapper
public class LogicalPreparedStatement42 extends LogicalPreparedStatement
JDBC 4.2 specific wrapper class for a Derby physical prepared statement.
-
-
Constructor Summary
Constructors Constructor Description LogicalPreparedStatement42(java.sql.PreparedStatement physicalPs, StatementKey stmtKey, StatementCacheInteractor cacheInteractor)
Creates a new logical prepared statement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
-
Methods inherited from class org.apache.derby.client.am.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, setURL
-
Methods inherited from class org.apache.derby.client.am.LogicalStatementEntity
close, closeOnCompletion, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, getPhysCs, getPhysPs, isCloseOnCompletion, isLogicalEntityClosed, isWrapperFor, setLargeMaxRows, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.Statement
close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isCloseOnCompletion, isSimpleIdentifier, setLargeMaxRows
-
-
-
-
Constructor Detail
-
LogicalPreparedStatement42
public LogicalPreparedStatement42(java.sql.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:
java.lang.IllegalArgumentException
- ifcache
isnull
-
-
Method Detail
-
setObject
public void setObject(int parameterIndex, java.lang.Object x, java.sql.SQLType targetSqlType) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
setObject
public void setObject(int parameterIndex, java.lang.Object x, java.sql.SQLType targetSqlType, int scaleOrLength) throws java.sql.SQLException
- Throws:
java.sql.SQLException
-
-