注释类型 Entity


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Deprecated
    public @interface Entity
    已过时。
    See individual attributes for intended replacements. To be removed in 4.1
    Extends Entity with Hibernate features.
    作者:
    Emmanuel Bernard
    • 元素详细资料

      • mutable

        @Deprecated
        boolean mutable
        已过时。
        Is this entity mutable (read only) or not.
        默认值:
        true
      • dynamicInsert

        @Deprecated
        boolean dynamicInsert
        已过时。
        use DynamicInsert instead
        Needed column only in SQL on insert.
        默认值:
        false
      • dynamicUpdate

        @Deprecated
        boolean dynamicUpdate
        已过时。
        Use DynamicUpdate instead
        Needed column only in SQL on update.
        默认值:
        false
      • selectBeforeUpdate

        @Deprecated
        boolean selectBeforeUpdate
        已过时。
        Use SelectBeforeUpdate instead
        Do a select to retrieve the entity before any potential update.
        默认值:
        false
      • persister

        @Deprecated
        String persister
        已过时。
        use Persister instead
        persister of this entity, default is hibernate internal one.
        默认值:
        ""