Interface SpiSqlUpdate

All Superinterfaces:
SqlUpdate
All Known Implementing Classes:
DefaultSqlUpdate

public interface SpiSqlUpdate extends SqlUpdate
  • 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.