Annotation Interface EnableRestore


@Target(TYPE) @Retention(RUNTIME) public @interface EnableRestore
Indicates whether to enable restoring of soft deleted entity instances. If no such annotation present for an entity or value() is true, restore is enabled. If value() is false, restore is disabled.

Can be overridden in *-metadata.xml file.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
  • Element Details

    • value

      boolean value
      Default:
      true