Annotation Type Entity


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Deprecated
    public @interface Entity
    Deprecated.
    See individual attributes for intended replacements. To be removed in 4.1
    Extends Entity with Hibernate features.
    • Element Detail

      • mutable

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

        @Deprecated
        boolean dynamicInsert
        Deprecated.
        use DynamicInsert instead
        Needed column only in SQL on insert.
        Default:
        false
      • dynamicUpdate

        @Deprecated
        boolean dynamicUpdate
        Deprecated.
        Use DynamicUpdate instead
        Needed column only in SQL on update.
        Default:
        false
      • selectBeforeUpdate

        @Deprecated
        boolean selectBeforeUpdate
        Deprecated.
        Use SelectBeforeUpdate instead
        Do a select to retrieve the entity before any potential update.
        Default:
        false
      • polymorphism

        @Deprecated
        PolymorphismType polymorphism
        Deprecated.
        use Polymorphism instead
        polymorphism strategy for this entity.
        Default:
        org.hibernate.annotations.PolymorphismType.IMPLICIT
      • optimisticLock

        @Deprecated
        OptimisticLockType optimisticLock
        Deprecated.
        use OptimisticLocking instead.
        optimistic locking strategy.
        Default:
        org.hibernate.annotations.OptimisticLockType.VERSION
      • persister

        @Deprecated
        java.lang.String persister
        Deprecated.
        use Persister instead
        persister of this entity, default is hibernate internal one.
        Default:
        ""