Package | Description |
---|---|
io.ebean |
Modifier and Type | Method and Description |
---|---|
static SqlUpdate |
DB.createSqlUpdate(String sql)
This is an alias for
DB.sqlUpdate(String) . |
SqlUpdate |
Database.createSqlUpdate(String sql)
This is an alias for
Database.sqlUpdate(String) . |
static SqlUpdate |
Ebean.createSqlUpdate(String sql)
Create a sql update for executing native dml statements.
|
SqlUpdate |
SqlUpdate.setAutoTableMod(boolean isAutoTableMod)
Set this to false if you don't want eBean to automatically deduce the table
modification information and process it.
|
SqlUpdate |
SqlUpdate.setGetGeneratedKeys(boolean getGeneratedKeys)
Set to true when we want to use getGeneratedKeys with this statement.
|
SqlUpdate |
SqlUpdate.setLabel(String label)
Set a descriptive text that can be put into the transaction log.
|
SqlUpdate |
SqlUpdate.setNextParameter(Object value)
Set the next positioned parameter.
|
SqlUpdate |
SqlUpdate.setNull(int position,
int jdbcType)
Set a null parameter via its index position.
|
SqlUpdate |
SqlUpdate.setNull(String name,
int jdbcType)
Set a named parameter that has a null value.
|
SqlUpdate |
SqlUpdate.setNullParameter(int position,
int jdbcType)
Set a null valued parameter using its index position.
|
SqlUpdate |
SqlUpdate.setNullParameter(String name,
int jdbcType)
Set a named parameter that has a null value.
|
SqlUpdate |
SqlUpdate.setParameter(int position,
Object value)
Set a parameter via its index position.
|
SqlUpdate |
SqlUpdate.setParameter(String name,
Object param)
Set a named parameter value.
|
SqlUpdate |
SqlUpdate.setParams(Object... values)
Set one of more positioned parameters.
|
SqlUpdate |
SqlUpdate.setTimeout(int secs)
Set the timeout in seconds.
|
static SqlUpdate |
DB.sqlUpdate(String sql)
Look to execute a native sql insert update or delete statement.
|
SqlUpdate |
Database.sqlUpdate(String sql)
Look to execute a native sql insert update or delete statement.
|
Modifier and Type | Method and Description |
---|---|
int |
Database.execute(SqlUpdate sqlUpdate)
Execute a Sql Update Delete or Insert statement.
|
static int |
Ebean.execute(SqlUpdate sqlUpdate)
Execute a Sql Update Delete or Insert statement.
|
int |
Database.execute(SqlUpdate updSql,
Transaction transaction)
Execute explicitly passing a transaction.
|
Copyright © 2019. All rights reserved.