Uses of Interface
io.ebean.Update

Packages that use Update
Package
Description
Core API (see Database, DB and Query).
  • Uses of Update in io.ebean

    Methods in io.ebean that return Update
    Modifier and Type
    Method
    Description
    <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).
    Update.set(int position, Object value)
    Set an ordered bind parameter.
    Update.set(String name, Object value)
    Set a named parameter.
    Update.setLabel(String label)
    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.
    Update.setNull(String name, int jdbcType)
    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.
    Methods in io.ebean with parameters of type Update
    Modifier and Type
    Method
    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.