Annotation Type Entity


@Target(TYPE) @Retention(RUNTIME) public @interface Entity
Extends Entity with Hibernate features
  • Element Details

    • mutable

      boolean mutable
      Deprecated.
      Is this entity mutable (read only) or not
      Default:
      true
    • dynamicInsert

      boolean dynamicInsert
      Needed column only in SQL on insert
      Default:
      false
    • dynamicUpdate

      boolean dynamicUpdate
      Needed column only in SQL on update
      Default:
      false
    • selectBeforeUpdate

      boolean selectBeforeUpdate
      Do a select to retrieve the entity before any potential update
      Default:
      false
    • polymorphism

      PolymorphismType polymorphism
      polymorphism strategy for this entity
      Default:
      IMPLICIT
    • persister

      String persister
      persister of this entity, default is hibernate internal one
      Default:
      ""
    • optimisticLock

      OptimisticLockType optimisticLock
      optimistic locking strategy
      Default:
      VERSION