ObjectDB ObjectDB

Internal Website Search

101-110 of 200 resultsRefresh


addition to any constraint entailed by primary key mapping and to constraints specified at the table level. Default value: false Since: JPA 1.0


javax.persistence Interface Cache Interface used to interact with the second-level cache. If a cache is not in use, the methods of this interface have no effect, except for contains, which returns false. Since: JPA 2.0 Learn how to use Cache in Chapter 3 of the ObjectDB/JPA manual. boolean contains


Annotation Element javax.persistence.OneToMany boolean orphanRemoval (Optional) Whether to apply the remove operation to entities that have been removed from the relationship and to cascade the remove operation to those entities. Default value: false Since: JPA 2.0

each 1-2 days objects on some objectdb level lock/block each other

="true" password="true" /> <log path="$objectdb/log/" max="8mb" stdout="false" stderr="false ... ="2kb" /> <recovery enabled="true" sync="false" path="." max="96mb" /> <recording enabled="false" sync="false" path="." mode="write" /> <locking version-check="true


types are restored to their values as of the beginning of the transaction. If false, at rollback


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()

makeTransientAll(useFetchPlan, pcs)

Method javax.jdo.PersistenceManager void makeTransientAll( boolean useFetchPlan, Object... pcs ) Make instances transient, removing them from management by this PersistenceManager. If the useFetchPlan parameter is false, this method behaves exactly as makeTransientAll(Object[] pcs). The affected


Method javax.jdo.Extent void closeAll() Close all Iterators associated with this Extent instance. Iterators closed by this method will return false to hasNext() and will throw NoSuchElementException on next(). The Extent instance can still be used as a parameter of Query.setExtent, and to get an Iterator. Since: JDO 1.0


Method javax.jdo.spi.StateManager boolean isDirty( PersistenceCapable pc ) Tests whether this object is dirty. Instances that have been modified, deleted, or newly made persistent in the current transaction return true. Transient nontransactional instances return false. Parameters: pc - the calling


Method javax.jdo.spi.StateManager boolean isNew( PersistenceCapable pc ) Tests whether this object has been newly made persistent. Instances that have been made persistent in the current transaction return true. Transient instances return false. Parameters: pc - the calling PersistenceCapable

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