Top Description Methods
org.hibernate.annotations

public @Interface Entity

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
@Deprecated
Imports
java.lang.annotation.Retention, .Target

Deprecated

See individual attributes for intended replacements. To be removed in 4.1

Extends javax.persistence.Entity with Hibernate features.
Author
Emmanuel Bernard

Method Summary

Modifier and TypeMethod and Description
public boolean
dynamicInsert()

Deprecated use DynamicInsert instead
Needed column only in SQL on insert.
public boolean
dynamicUpdate()

Deprecated Use DynamicUpdate instead
Needed column only in SQL on update.
public boolean
mutable()

Is this entity mutable (read only) or not.
public OptimisticLockType
optimisticLock()

Deprecated use OptimisticLocking instead.
optimistic locking strategy.
public String
persister()

Deprecated use Persister instead
persister of this entity, default is hibernate internal one.
public PolymorphismType
polymorphism()

Deprecated use Polymorphism instead
polymorphism strategy for this entity.
public boolean
selectBeforeUpdate()

Deprecated Use SelectBeforeUpdate instead
Do a select to retrieve the entity before any potential update.
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

dynamicInsertback to summary
public boolean dynamicInsert()

Deprecated

use DynamicInsert instead

Needed column only in SQL on insert.

Annotations
@Deprecated
dynamicUpdateback to summary
public boolean dynamicUpdate()

Deprecated

Use DynamicUpdate instead

Needed column only in SQL on update.

Annotations
@Deprecated
mutableback to summary
public boolean mutable()

Is this entity mutable (read only) or not.

Annotations
@Deprecated
optimisticLockback to summary
public OptimisticLockType optimisticLock()

Deprecated

use OptimisticLocking instead.

optimistic locking strategy.

Annotations
@Deprecated
persisterback to summary
public String persister()

Deprecated

use Persister instead

persister of this entity, default is hibernate internal one.

Annotations
@Deprecated
polymorphismback to summary
public PolymorphismType polymorphism()

Deprecated

use Polymorphism instead

polymorphism strategy for this entity.

Annotations
@Deprecated
selectBeforeUpdateback to summary
public boolean selectBeforeUpdate()

Deprecated

Use SelectBeforeUpdate instead

Do a select to retrieve the entity before any potential update.

Annotations
@Deprecated