Package | Description |
---|---|
io.ebean |
Modifier and Type | Method and Description |
---|---|
static <T> Update<T> |
DB.createUpdate(Class<T> beanType,
String ormUpdate)
Create a orm update where you will supply the insert/update or delete
statement (rather than using a named one that is already defined using the
@NamedUpdates annotation).
|
<T> Update<T> |
Database.createUpdate(Class<T> beanType,
String ormUpdate)
Create a orm update where you will supply the insert/update or delete
statement (rather than using a named one that is already defined using the
@NamedUpdates annotation).
|
static <T> Update<T> |
Ebean.createUpdate(Class<T> beanType,
String ormUpdate)
Create a orm update where you will supply the insert/update or delete
statement (rather than using a named one that is already defined using the
@NamedUpdates annotation).
|
Update<T> |
Update.set(int position,
Object value)
Set an ordered bind parameter.
|
Update<T> |
Update.set(String name,
Object value)
Set a named parameter.
|
Update<T> |
Update.setLabel(String label)
Set a label meaning performance metrics will be collected for the execution of this update.
|
Update<T> |
Update.setNotifyCache(boolean notifyCache)
Set this to false if you do not want the cache to invalidate related
objects.
|
Update<T> |
Update.setNull(int position,
int jdbcType)
Set an ordered parameter that is null.
|
Update<T> |
Update.setNull(String name,
int jdbcType)
Set a named parameter that is null.
|
Update<T> |
Update.setNullParameter(int position,
int jdbcType)
Set an ordered parameter that is null (same as bind).
|
Update<T> |
Update.setNullParameter(String name,
int jdbcType)
Bind a named parameter that is null (same as bind).
|
Update<T> |
Update.setParameter(int position,
Object value)
Set and ordered bind parameter (same as bind).
|
Update<T> |
Update.setParameter(String name,
Object param)
Bind a named parameter (same as bind).
|
Update<T> |
Update.setTimeout(int secs)
Set a timeout for statement execution.
|
Modifier and Type | Method and Description |
---|---|
int |
Database.execute(Update<?> update)
Execute a ORM insert update or delete statement using the current
transaction.
|
int |
Database.execute(Update<?> update,
Transaction transaction)
Execute a ORM insert update or delete statement with an explicit
transaction.
|
Copyright © 2019. All rights reserved.