Interface EnginePreparedStatement

All Superinterfaces:
AutoCloseable, EngineStatement, PreparedStatement, Statement, Wrapper
All Known Implementing Classes:
BrokeredCallableStatement, BrokeredCallableStatement42, BrokeredPreparedStatement, BrokeredPreparedStatement42, EmbedCallableStatement, EmbedCallableStatement42, EmbedPreparedStatement, EmbedPreparedStatement42

public interface EnginePreparedStatement extends 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 Details

    • getVersionCounter

      long getVersionCounter() throws 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:
      SQLException
    • executeLargeUpdate

      long executeLargeUpdate() throws SQLException
      Specified by:
      executeLargeUpdate in interface PreparedStatement
      Throws:
      SQLException