ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
64

LockModeType.PESSIMISTIC_WRITE

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

LockModeType.PESSIMISTIC_FORCE_INCREMENT

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

LockModeType.PESSIMISTIC_READ

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

Locking in JPA

supported pessimistic lock modes are: PESSIMISTIC_READ - which represents a shared lock. PESSIMISTIC_WRITE ... explicitly by the lock method: em.lock(employee, LockModeType.PESSIMISTIC_WRITE); The first ... another EntityManager instance) currently holds a PESSIMISTIC_WRITE lock on that database object. A PESSIMISTIC
28

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
2

PersistenceCapable.CHECK_WRITE

Static Field javax.jdo.spi.PersistenceCapable byte CHECK_WRITE If jdoFieldFlags for a field includes CHECK_WRITE, then the field has been enhanced to call the jdoStateManager on write if the jdoFlags setting is not READ_WRITE_OK;. Since: JDO 1.0
2

PersistenceCapable.MEDIATE_WRITE

Static Field javax.jdo.spi.PersistenceCapable byte MEDIATE_WRITE If jdoFieldFlags for a field includes MEDIATE_WRITE, then the field has been enhanced to always call the jdoStateManager on all writes. Since: JDO 1.0
2

PersistenceCapable.READ_WRITE_OK

Static Field javax.jdo.spi.PersistenceCapable byte READ_WRITE_OK If jdoFlags is set to READ_WRITE_OK, then the fields in the default fetch group can be accessed for read or write without notifying the StateManager. Since: JDO 1.0
2

Constants.PMF_ATTRIBUTE_NONTRANSACTIONAL_WRITE

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_NONTRANSACTIONAL_WRITE The name of the persistence manager factory element's "nontransactional-write" attribute. Since: JDO 2.1
2

Constants.PROPERTY_NONTRANSACTIONAL_WRITE

Static Field javax.jdo.Constants String PROPERTY_NONTRANSACTIONAL_WRITE "javax.jdo.option.NontransactionalWrite" Since: JDO 2.1 See Also: PersistenceManagerFactory.getNontransactionalWrite()

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