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 TypeMethod and Description
public OptimisticLockType
type()

Defines the style of optimistic locking for the entity.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

typeback to summary
public OptimisticLockType type()

Defines the style of optimistic locking for the entity.