Package org.hibernate.annotations
Annotation Type Entity
Extends
Entity with Hibernate features-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanNeeded column only in SQL on insertbooleanNeeded column only in SQL on updatebooleanDeprecated.optimistic locking strategypersister of this entity, default is hibernate internal onepolymorphism strategy for this entitybooleanDo a select to retrieve the entity before any potential update
-
Element Details
-
mutable
boolean mutableDeprecated.useImmutableIs this entity mutable (read only) or not- Default:
true
-
dynamicInsert
boolean dynamicInsertNeeded column only in SQL on insert- Default:
false
-
dynamicUpdate
boolean dynamicUpdateNeeded column only in SQL on update- Default:
false
-
selectBeforeUpdate
boolean selectBeforeUpdateDo a select to retrieve the entity before any potential update- Default:
false
-
polymorphism
PolymorphismType polymorphismpolymorphism strategy for this entity- Default:
IMPLICIT
-
persister
String persisterpersister of this entity, default is hibernate internal one- Default:
""
-
optimisticLock
OptimisticLockType optimisticLockoptimistic locking strategy- Default:
VERSION
-
Immutable