Class PersistRequestCallableSql

All Implemented Interfaces:
TxnProfileEventCodes, BatchPostExecute

public final class PersistRequestCallableSql extends PersistRequest
Persist request specifically for CallableSql.
  • Constructor Details

  • Method Details

    • profile

      public void profile(long offset, int flushCount)
      Description copied from interface: BatchPostExecute
      Add as event to the profiling.
    • executeOrQueue

      public int executeOrQueue()
      Description copied from class: PersistRequest
      Execute a the request or queue/batch it for later execution.
      Specified by:
      executeOrQueue in class PersistRequest
    • executeNow

      public int executeNow()
      Description copied from class: PersistRequest
      Execute the request right now.
      Specified by:
      executeNow in class PersistRequest
    • callableSql

      public SpiCallableSql callableSql()
      Return the CallableSql.
    • setBindLog

      public void setBindLog(String bindLog)
      The the log of bind values.
    • checkRowCount

      public void checkRowCount(int count)
      Note the rowCount of the execution.
    • setGeneratedKey

      public void setGeneratedKey(Object idValue)
      Only called for insert with generated keys.
    • postExecute

      public void postExecute()
      Perform post execute processing for the CallableSql.
    • setBound

      public void setBound(BindParams bindParam, CallableStatement cstmt)
      These need to be set for use with Non-batch execution. Specifically to read registered out parameters and potentially handle the executeOverride() method.
    • executeUpdate

      public int executeUpdate() throws SQLException
      Execute the statement in normal non batch mode.
      Throws:
      SQLException