com.avaje.ebean.annotation
Annotation Type UpdateMode
-
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface UpdateMode
Specify the update mode for the specific entity type.
Control whether all 'loaded' properties are included in an Update or whether just properties that have changed will be included in the update.
Note that the default can be set via ebean.properties.
## Set to update all loaded properties
ebean.updateChangesOnly=false
Optional Element Summary |
boolean |
updateChangesOnly
Set to false if you want to include all the 'loaded' properties in the update. |
updateChangesOnly
public abstract boolean updateChangesOnly
-
Set to false if you want to include all the 'loaded' properties in the update. Otherwise, just the properties that have changed will be included in the update.
-
-
- Default:
- true
Copyright © 2010. All Rights Reserved.