注释类型 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.

    作者:
    Steve Ebersole
    另请参阅:
    SelectBeforeUpdate
    • 可选元素概要

      可选元素 
      修饰符和类型 可选元素 说明
      boolean value
      Should dynamic update generation be used for this entity?
    • 元素详细资料

      • 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).
        默认值:
        true