ObjectDB ObjectDB

Internal Website Search

1-10 of 46 resultsRefresh
108

javax.persistence.LockModeType

javax.persistence Enum LockModeType java.lang.Object java.lang.Enum<javax.persistence.LockModeType> javax.persistence.LockModeType Implemented Interfaces: Serializable, Comparable<LockModeType> Lock modes can be specified by means of passing a LockModeType argument to one of the javax
84

values()

Static Method javax.persistence.LockModeType LockModeType[] values() Returns an array containing the constants of this enum type. This method may be used to iterate over the constants as follows: for (LockModeType c : LockModeType.values()) System.out.println(c) Returns: an array containing
81

valueOf(name)

Static Method javax.persistence.LockModeType LockModeType valueOf( String name ) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. Parameters: name - the name of the enum constant to be returned
78

LockModeType.WRITE

Enum Constant javax.persistence.LockModeType WRITE Synonymous with OPTIMISTIC_FORCE_INCREMENT. OPTIMISTIC_FORCE_IMCREMENT is to be preferred for new applications. Since: JPA 1.0
78

LockModeType.READ

Enum Constant javax.persistence.LockModeType READ Synonymous with OPTIMISTIC. OPTIMISTIC is to be preferred for new applications. Since: JPA 1.0
78

LockModeType.PESSIMISTIC_WRITE

Enum Constant javax.persistence.LockModeType PESSIMISTIC_WRITE Pessimistic write lock. Since: JPA 2.0
78

LockModeType.PESSIMISTIC_READ

Enum Constant javax.persistence.LockModeType PESSIMISTIC_READ Pessimistic read lock. Since: JPA 2.0
78

LockModeType.PESSIMISTIC_FORCE_INCREMENT

Enum Constant javax.persistence.LockModeType PESSIMISTIC_FORCE_INCREMENT Pessimistic write lock, with version update. Since: JPA 2.0
78

LockModeType.OPTIMISTIC_FORCE_INCREMENT

Enum Constant javax.persistence.LockModeType OPTIMISTIC_FORCE_INCREMENT Optimistic lock, with version update. Since: JPA 2.0
78

LockModeType.OPTIMISTIC

Enum Constant javax.persistence.LockModeType OPTIMISTIC Optimistic lock. Since: JPA 2.0

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support