ObjectDB ObjectDB

Internal Website Search

81-90 of 200 resultsRefresh


Method javax.jdo.PersistenceManager void evictAll( Collection pcs ) Mark a Collection of instances as no longer needed in the cache. Parameters: pcs - the Collection of instances to evict from the cache. Since: JDO 1.0 See Also: evict(Object pc)


Method javax.jdo.PersistenceManager Sequence getSequence( String name ) Returns the sequence identified by name. Parameters: name - the name of the Sequence Returns: the Sequence Since: JDO 2.0


Method javax.jdo.PersistenceManager Query newQuery( String query ) Create a Construct a new query instance using the specified String as the single-string representation of the query. Parameters: query - the single-string query Returns: the new Query Since: JDO 2.0


Method javax.jdo.PersistenceManager void setCopyOnAttach( boolean flag ) Sets the copyOnAttach setting. CopyOnAttach set to true specifies that during makePersistent, copies are made of detached parameter instances. With this flag set to false, detached parameter instances are attached directly


Method javax.jdo.PersistenceManager void makeTransactionalAll( Object... pcs ) Make an array of instances subject to transactional boundaries. Parameters: pcs - the array of instances to make transactional. Since: JDO 1.0 See Also: makeTransactional(Object pc)

getObjectsById(oids, validate)

Method javax.jdo.PersistenceManager Object[] getObjectsById( Object[] oids, boolean validate ) Return the objects with the given oids. Parameters: oids - the oids of the objects to return validate - if true, the existance of the objects in the datastore will be validated. Returns: the objects


Method javax.jdo.PersistenceManager Query newQuery() Create a new Query with no elements. Returns: the new Query. Since: JDO 1.0


Method javax.jdo.PersistenceManager Collection<T> makePersistentAll( Collection<T> pcs ) Make a Collection of instances persistent. Parameters: pcs - a Collection of instances Returns: the parameter instance for parameters in the transient or persistent state, or the corresponding persistent


Method javax.jdo.PersistenceManager void deletePersistentAll( Collection pcs ) Delete a Collection of instances from the data store. Parameters: pcs - a Collection of persistent instances Since: JDO 1.0 See Also: deletePersistent(Object pc)


Method javax.jdo.PersistenceManager Collection getObjectsById( Collection oids ) Return the objects with the given oids. This method is equivalent to calling getObjectsById(Collection, boolean) with the validate flag true. Parameters: oids - the oids of the objects to return Returns: the objects

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