-
Method Summary
int
Runs the insert query, returns the number of affected rows.
Runs the insert query and return the generated id
Methods inherited from interface org.spincast.plugins.jdbc.statements.Statement
clearSql, clearSql, getSql, setBoolean, setDate, setDouble, setFloat, setInInteger, setInLong, setInstant, setInString, setInStringFromEnumNames, setInStringFromEnumNames, setInteger, setLong, setLongList, setString, sql
-
Method Details
-
insert
int insert()
Runs the insert query, returns the number of affected rows.
-
insertGetGeneratedId
Long insertGetGeneratedId(String primaryKeyColumnName)
Runs the insert query and return the generated id