Uses of Interface
io.ebean.Update
Packages that use Update
-
Uses of Update in io.ebean
Modifier and TypeMethodDescription<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>
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).Set an ordered bind parameter.Set a named parameter.Set a label meaning performance metrics will be collected for the execution of this update.Update.setNotifyCache
(boolean notifyCache) Set this to false if you do not want the cache to invalidate related objects.Update.setNull
(int position, int jdbcType) Set an ordered parameter that is null.Set a named parameter that is null.Update.setNullParameter
(int position, int jdbcType) Set an ordered parameter that is null (same as bind).Update.setNullParameter
(String name, int jdbcType) Bind a named parameter that is null (same as bind).Update.setParameter
(int position, Object value) Set and ordered bind parameter (same as bind).Update.setParameter
(String name, Object param) Bind a named parameter (same as bind).Update.setTimeout
(int secs) Set a timeout for statement execution.Modifier and TypeMethodDescriptionint
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.