ObjectDB ObjectDB

Internal Website Search

1-10 of 87 resultsRefresh

Dirty checking

the database. ie: which objects, and which collections of objects, have been dirtied. in the jdo api ... if an entity object is dirty using the static JDOHelper.isDeleted method. support Support > You may also use JDO methods (even if your application uses JPA) so you can check if an entity object is dirty

Entity Management Settings

" on-persist="false" on-commit="true" /> <dirty-tracking arrays="false" /> </entities ... mechanisms for entities: The ref attribute specifies the reference type for holding non dirty entities in ... than double cascade) is sufficient. The <dirty-tracking> element <dirty-tracking arrays="false

Locking in JPA

. The OPTIMISTIC_FORCE_INCREMENT mode affects only clean (non dirty) entity objects. Explicit lock at that mode marks the clean entity object as modified (dirty) and increases its version number by 1 ... that it marks a clean entity object as dirty and increases its version number by one (i.e. it combines

Updating JPA Entity Objects

automatically JDOHelper.makeDirty(employee, "projects"); // reported as dirty em.getTransaction


Enum Constant javax.jdo.ObjectState PERSISTENT_NONTRANSACTIONAL_DIRTY Since: JDO 1.0


Enum Constant javax.jdo.ObjectState TRANSIENT_DIRTY Since: JDO 1.0


Enum Constant javax.jdo.ObjectState PERSISTENT_DIRTY Since: JDO 1.0


Enum Constant javax.jdo.ObjectState DETACHED_DIRTY Since: JDO 1.0


Static Field javax.jdo.listener.InstanceLifecycleEvent int DIRTY Since: JDO 2.0


is persistent, transactional, dirty, new, deleted, or detached; and to get its associated ... .jdo.JDOHelper.isDetached(Object pc) boolean jdoIsDirty() Tests whether this object is dirty. Tests whether this object is dirty. Instances that have been modified, deleted, or newly made persistent in

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