Annotation Interface DynamicUpdate


@Target(TYPE) @Retention(RUNTIME) public @interface DynamicUpdate
Specifies that SQL update statements for the annotated entity are generated dynamically, and only include columns which are actually being updated.

This might result in improved performance if it is common to change only some of the attributes of the entity. However, there is a cost associated with generating the SQL at runtime.