play.modules.morphia
Annotation Type Model.OnUpdate


@Retention(value=RUNTIME)
@Target(value=METHOD)
public static @interface Model.OnUpdate

OnUpdate mark a method be called before an existing entity is saved. If any exception get thrown out in the method the entity will not be saved

Author:
luog