ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh

find(entityClass, primaryKey, lockMode)

must perform optimistic version checks when obtaining the database lock. If these checks fail


Enum Constant javax.persistence.ValidationMode CALLBACK The persistence provider must perform the lifecycle event validation. It is an error if there is no Bean Validation provider present in the environment. Since: JPA 2.0


Enum Constant javax.persistence.ValidationMode AUTO If a Bean Validation provider is present in the environment, the persistence provider must perform the automatic validation of entities. If no Bean Validation provider is present in the environment, no lifecycle event validation takes place. This is the default behavior. Since: JPA 2.0


Enum Constant javax.persistence.ValidationMode NONE The persistence provider must not perform lifecycle event validation. Since: JPA 2.0


javax.persistence Annotation Version Target: Fields (including property get methods) Specifies the version field or property of an entity class that serves as its optimistic lock value. The version is used to ensure integrity when performing the merge operation and for optimistic concurrency


Method javax.jdo.spi.PersistenceCapable PersistenceCapable jdoNewInstance( StateManager sm ) Return a new instance of this class, with the jdoStateManager set to the parameter, and jdoFlags set to LOAD_REQUIRED. This method is used as a performance optimization as an alternative to using reflection


Method javax.jdo.PersistenceManagerFactory void setReadOnly( boolean flag ) Sets the value for whether the datastore is to be considered read-only. ReadOnly set to false specifies that no updates can be performed to the datastore, and if updates are attempted a JDOReadOnlyException is thrown. Parameters: flag - Since: JDO 2.2 See Also: getReadOnly()


implementation prior to calling any JDO method or performing any action on any persistent instance

find(entityClass, primaryKey, lockMode, properties)

and the entity has a version attribute, the persistence provider must perform optimistic version checks

jdoNewInstance(sm, oid)

a performance optimization as an alternative to using reflection to construct a new instance of a class

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