| Package | Description |
|---|---|
| com.avaje.ebean |
Core API (see EbeanServer and Ebean).
|
| Modifier and Type | Method and Description |
|---|---|
static SqlUpdate |
Ebean.createSqlUpdate(String sql)
Create a sql update for executing native dml statements.
|
SqlUpdate |
EbeanServer.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.setLabel(String label)
Set a descriptive text that can be put into the transaction log.
|
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.setTimeout(int secs)
Set the timeout in seconds.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
Ebean.execute(SqlUpdate sqlUpdate)
Execute a Sql Update Delete or Insert statement.
|
int |
EbeanServer.execute(SqlUpdate sqlUpdate)
Execute a Sql Update Delete or Insert statement.
|
int |
EbeanServer.execute(SqlUpdate updSql,
Transaction transaction)
Execute explicitly passing a transaction.
|
Copyright © 2016. All rights reserved.