Package org.apache.derby.iapi.jdbc
Interface EnginePreparedStatement
-
- All Superinterfaces:
java.lang.AutoCloseable
,EngineStatement
,java.sql.PreparedStatement
,java.sql.Statement
,java.sql.Wrapper
- All Known Implementing Classes:
BrokeredCallableStatement
,BrokeredCallableStatement42
,BrokeredPreparedStatement
,BrokeredPreparedStatement42
,EmbedCallableStatement
,EmbedCallableStatement42
,EmbedPreparedStatement
,EmbedPreparedStatement42
public interface EnginePreparedStatement extends java.sql.PreparedStatement, EngineStatement
Additional methods the embedded engine exposes on its PreparedStatement object implementations. An internal api only, mainly for the network server. Allows consistent interaction between embedded PreparedStatement and Brokered PreparedStatements. (DERBY-1015)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
executeLargeUpdate()
long
getVersionCounter()
Get the version of the prepared statement.-
Methods inherited from interface org.apache.derby.iapi.jdbc.EngineStatement
closeOnCompletion, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, getLargeMaxRows, getLargeUpdateCount, isCloseOnCompletion, setLargeMaxRows
-
Methods inherited from interface java.sql.PreparedStatement
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, 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, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
-
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, 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, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout
-
-
-
-
Method Detail
-
getVersionCounter
long getVersionCounter() throws java.sql.SQLException
Get the version of the prepared statement. If this has not been changed, the caller may assume that a recompilation has not taken place, i.e. meta-data are (also) unchanged.- Returns:
- version counter
- Throws:
java.sql.SQLException
-
executeLargeUpdate
long executeLargeUpdate() throws java.sql.SQLException
- Specified by:
executeLargeUpdate
in interfacejava.sql.PreparedStatement
- Throws:
java.sql.SQLException
-
-