hibernate-core 5.6.15.Final
org.hibernate.annotations
OptimisticLocking
Top
Description
Methods
org.hibernate.annotations
public
@Interface OptimisticLocking
extends
Annotation
Annotations
@Target
:
TYPE
@Retention
:
RUNTIME
Imports
java.
lang.
annotation.
Retention
,
.Target
Used to define the style of optimistic locking to be applied to an entity. In a hierarchy, only valid on the root entity.
Author
Steve Ebersole
Method Summary
Modifier and Type
Method and Description
public
OptimisticLockType
type
()
Defines the style of optimistic locking for the entity.
Inherited from
java.lang.annotation.Annotation
:
annotationType
equals
hashCode
toString
Method Detail
type
back to summary
public
OptimisticLockType
type
()
Defines the style of optimistic locking for the entity.