Annotation Type DynamicUpdate


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface DynamicUpdate
    For updating, should this entity use dynamic sql generation where only changed columns get referenced in the prepared sql statement?

    Note, for re-attachment of detached entities this is not possible without select-before-update being enabled.

    See Also:
    SelectBeforeUpdate
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      boolean value
      Should dynamic update generation be used for this entity? true says the update sql will be dynamic generated.
    • Element Detail

      • value

        boolean value
        Should dynamic update generation be used for this entity? true says the update sql will be dynamic generated. Default is true (since generally this annotation is not used unless the user wants dynamic generation).
        Default:
        true