|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Update | |
---|---|
com.avaje.ebean | Core API (see Ebean and EbeanServer). |
Uses of Update in com.avaje.ebean |
---|
Methods in com.avaje.ebean that return Update | ||
---|---|---|
|
EbeanServer.createNamedUpdate(Class<T> beanType,
String namedUpdate)
Create a named update for an entity bean (refer Ebean.createNamedUpdate(Class, String) ). |
|
static
|
Ebean.createNamedUpdate(Class<T> beanType,
String namedUpdate)
Create a named orm update. |
|
|
EbeanServer.createUpdate(Class<T> beanType,
String ormUpdate)
Create a update for an entity bean where you will manually specify the insert update or delete statement. |
|
static
|
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.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. |
Methods in com.avaje.ebean with parameters of type Update | |
---|---|
int |
EbeanServer.execute(Update<?> update)
Execute a ORM insert update or delete statement using the current transaction. |
int |
EbeanServer.execute(Update<?> update,
Transaction t)
Execute a ORM insert update or delete statement with an explicit transaction. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |