ObjectDB ObjectDB

Internal Website Search

1-7 of 7 resultsRefresh
121

javax.persistence.PessimisticLockScope

javax.persistence Enum PessimisticLockScope java.lang.Object java.lang.Enum<javax.persistence.PessimisticLockScope> javax.persistence.PessimisticLockScope Implemented Interfaces: Serializable, Comparable<PessimisticLockScope> Defines the values of the javax.persistence.lock.scope
104

values()

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

PessimisticLockScope.EXTENDED

Enum Constant javax.persistence.PessimisticLockScope EXTENDED In addition to the behavior for PessimisticLockScope.NORMAL, element collections and relationships owned by the entity that are contained ... with a value of PessimisticLockScope.EXTENDED. The state of entities referenced by such relationships will not
98

valueOf(name)

Static Method javax.persistence.PessimisticLockScope PessimisticLockScope 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
94

PessimisticLockScope.NORMAL

Enum Constant javax.persistence.PessimisticLockScope NORMAL This value defines the default behavior for pessimistic locking. The persistence provider must lock the database row(s) that correspond to the non-collection-valued persistent state of that instance. If a joined inheritance strategy
9

java.lang.Comparable

, PersistenceContextType, PersistenceModifier, PersistenceUnitTransactionType, PessimisticLockScope, CollectionType
9

java.io.Serializable

, PersistenceModifier, PersistenceUnitTransactionType, PessimisticLockException, PessimisticLockScope

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