Annotation Interface SelectBeforeUpdate


@Target(TYPE) @Retention(RUNTIME) @Deprecated(since="6.2") public @interface SelectBeforeUpdate
Deprecated.
Since Session.update(Object) is deprecated
Specifies that the current persistent state of a detached entity instance should be fetched from the database when the entity is reattached using Session.update(Object).
Author:
Steve Ebersole
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Deprecated.
    When false, this annotation has no effect.
  • Element Details

    • value

      @Deprecated(since="6.0") boolean value
      Deprecated.
      When false, this annotation has no effect.
      Default:
      true