ObjectDB ObjectDB

Internal Website Search

161-170 of 200 resultsRefresh


Annotation Element javax.persistence.OneToOne 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


Annotation Element javax.persistence.MapKeyColumn boolean updatable (Optional) Whether the column is included in SQL UPDATE statements generated by the persistence provider. Default value: true Since: JPA 2.0

getObjectById(oid, validate)

Method javax.jdo.PersistenceManager Object getObjectById( Object oid, boolean validate ) This method locates a persistent instance in the cache of instances managed by this PersistenceManager. The getObjectById method attempts to find an instance in the cache with the specified JDO identity


Method javax.jdo.Query void setUnique( boolean unique ) Specify that only the first result of the query should be returned, rather than a collection. The execute method will return null if the query result size is 0. Parameters: unique - if true, only one element is returned Since: JDO 2.0


.jdoGetTransactionalObjectId() PersistenceManager.getObjectById(Object oid, boolean validate)

makeTransient(pc, useFetchPlan)

Method javax.jdo.PersistenceManager void makeTransient( Object pc, boolean useFetchPlan ) Make an instance transient, removing it from management by this PersistenceManager. If the useFetchPlan parameter is false, this method behaves exactly as makeTransient(Object pc). The affected instance(s


Method javax.jdo.PersistenceManagerFactory boolean getNontransactionalRead() Get the default NontransactionalRead setting for all PersistenceManager instances obtained from this factory. Returns: the default NontransactionalRead setting. Since: JDO 1.0


Method javax.jdo.Transaction void setNontransactionalWrite( boolean nontransactionalWrite ) If true, allow persistent instances to be written without a transaction active. If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters: nontransactionalWrite


argument Returns: the resolved message text Since: JDO 1.0.1 String msg(String messageKey, boolean arg


Method javax.jdo.spi.PersistenceCapable boolean jdoIsPersistent() Tests whether this object is persistent. Instances that represent persistent objects in the data store return true. Returns: true if this instance is persistent. Since: JDO 1.0 See Also: javax.jdo.JDOHelper.isPersistent(Object pc) PersistenceManager.makePersistent(Object pc)

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