Top Description Methods
org.hibernate.annotations

public @Interface Entity

extends Annotation
Annotations
@Target:TYPE
@Retention:RUNTIME
Static Imports
java.lang.annotation.ElementType.TYPE, .RetentionPolicy.RUNTIME

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

Method Summary

Modifier and TypeMethod and Description
public boolean
dynamicInsert()

Needed column only in SQL on insert

public boolean
dynamicUpdate()

Needed column only in SQL on update

public boolean
mutable()

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

optimistic locking strategy

public String
persister()

persister of this entity, default is hibernate internal one

public PolymorphismType
polymorphism()

polymorphism strategy for this entity

public boolean
selectBeforeUpdate()

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()

Needed column only in SQL on insert

dynamicUpdateback to summary
public boolean dynamicUpdate()

Needed column only in SQL on update

mutableback to summary
public boolean mutable()

Is this entity mutable (read only) or not

optimisticLockback to summary
public OptimisticLockType optimisticLock()

optimistic locking strategy

persisterback to summary
public String persister()

persister of this entity, default is hibernate internal one

polymorphismback to summary
public PolymorphismType polymorphism()

polymorphism strategy for this entity

selectBeforeUpdateback to summary
public boolean selectBeforeUpdate()

Do a select to retrieve the entity before any potential update