Interface SpiSqlUpdate
- All Superinterfaces:
io.ebean.SqlUpdate
- All Known Implementing Classes:
DefaultSqlUpdate
public interface SpiSqlUpdate
extends io.ebean.SqlUpdate
-
Method Summary
Modifier and TypeMethodDescriptionbaseSql()Return the sql taking into account bind parameter expansion.Return the Bind parameters.copy()Return a copy of the SqlUpdate with empty bind parameters.booleanReturn true if we are using getGeneratedKeys.voidreset()Reset bind position to be ready for another bind execute.voidsetGeneratedKey(Object idValue) Set the generated key value.voidsetGeneratedSql(String sql) 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
Set the final sql being executed with named parameters replaced etc. -
isGetGeneratedKeys
boolean isGetGeneratedKeys()Return true if we are using getGeneratedKeys. -
setGeneratedKey
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.
-