ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh
4

newQuery(cls)

Method javax.jdo.PersistenceManager Query newQuery( Class cls ) Create a new Query specifying the Class of the candidate instances. Parameters: cls - the Class of the candidate instances Returns: the new Query Since: JDO 1.0
4

newQuery(cls, filter)

Method javax.jdo.PersistenceManager Query newQuery( Class cls, String filter ) Create a new Query with the Class of the candidate instances and filter. Parameters: cls - the Class of results filter - the filter for candidate instances Returns: the new Query Since: JDO 1.0
4

newQuery(cls, cln)

Method javax.jdo.PersistenceManager Query newQuery( Class cls, Collection cln ) Create a new Query with the candidate Class and Collection. Parameters: cls - the Class of results cln - the Collection of candidate instances Returns: the new Query Since: JDO 1.0
4

setDetachAllOnCommit(flag)

Method javax.jdo.PersistenceManager void setDetachAllOnCommit( boolean flag ) Sets the detachAllOnCommit setting. DetachAllOnCommit set to false specifies that the state of persistent instances in the cache after commit is defined by the retainValues flag. With this flag set to true
4

setCopyOnAttach(flag)

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
4

deletePersistentAll(pcs)

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

addInstanceLifecycleListener(listener, classes)

Method javax.jdo.PersistenceManager void addInstanceLifecycleListener( InstanceLifecycleListener listener, Class... classes ) Adds the listener instance to the list of lifecycle event listeners. The classes parameter identifies all of the classes of interest. If the classes parameter is specified
4

makePersistentAll(pcs)

Method javax.jdo.PersistenceManager T[] makePersistentAll( T... pcs ) Make an array of instances persistent. Parameters: pcs - an array of instances Returns: the parameter instances for parameters in the transient or persistent state, or the corresponding persistent instance for detached parameter
4

makeNontransactionalAll(pcs)

Method javax.jdo.PersistenceManager void makeNontransactionalAll( Object... pcs ) Make an array of instances non-transactional after commit. Parameters: pcs - the array of instances to make nontransactional. Since: JDO 1.0 See Also: makeNontransactional(Object pc)
4

makePersistentAll(pcs)

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

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