Interface SpiSqlUpdate

All Superinterfaces:
io.ebean.SqlUpdate
All Known Implementing Classes:
DefaultSqlUpdate

public interface SpiSqlUpdate extends io.ebean.SqlUpdate
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the sql taking into account bind parameter expansion.
    Return the Bind parameters.
    Return a copy of the SqlUpdate with empty bind parameters.
    boolean
    Return true if we are using getGeneratedKeys.
    void
    Reset bind position to be ready for another bind execute.
    void
    Set the generated key value.
    void
    Set the final sql being executed with named parameters replaced etc.

    Methods inherited from interface io.ebean.SqlUpdate

    addBatch, execute, executeBatch, executeGetKey, executeNow, getGeneratedKey, getGeneratedSql, getLabel, getSql, getTimeout, isAutoTableMod, setArrayParameter, setAutoTableMod, setGetGeneratedKeys, setLabel, setNull, setNull, setNullParameter, setNullParameter, setParameter, setParameter, setParameter, setParameters, setTimeout
  • Method Details

    • baseSql

      String baseSql()
      Return the sql taking into account bind parameter expansion.
    • bindParams

      BindParams bindParams()
      Return the Bind parameters.
    • setGeneratedSql

      void setGeneratedSql(String sql)
      Set the final sql being executed with named parameters replaced etc.
    • isGetGeneratedKeys

      boolean isGetGeneratedKeys()
      Return true if we are using getGeneratedKeys.
    • setGeneratedKey

      void setGeneratedKey(Object idValue)
      Set the generated key value.
    • reset

      void reset()
      Reset bind position to be ready for another bind execute.
    • copy

      SpiSqlUpdate copy()
      Return a copy of the SqlUpdate with empty bind parameters.