Java javax.persistence LockModeType fields, constructors, methods, implement or subclass

Example usage for Java javax.persistence LockModeType fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.persistence LockModeType.

The text is from its open source code.

Field

LockModeTypeREAD
Synonymous with OPTIMISTIC.
LockModeTypeWRITE
Synonymous with OPTIMISTIC_FORCE_INCREMENT.
LockModeTypeOPTIMISTIC
Optimistic lock.
LockModeTypeOPTIMISTIC_FORCE_INCREMENT
Optimistic lock, with version update.
LockModeTypePESSIMISTIC_READ
Pessimistic read lock.
LockModeTypePESSIMISTIC_WRITE
Pessimistic write lock.
LockModeTypePESSIMISTIC_FORCE_INCREMENT
Pessimistic write lock, with version update.
LockModeTypeNONE
No lock.