ObjectDB ObjectDB

Internal Website Search

41-50 of 200 resultsRefresh
4

getObjectById(cls, key)

Method javax.jdo.PersistenceManager T getObjectById( Class<T> cls, Object key ) Looks up the instance of the given type with the given key. Parameters: cls - The type of object to load key - either the string representation of the object id, or an object representation of a single field identity
4

removeInstanceLifecycleListener(listener)

Method javax.jdo.PersistenceManager void removeInstanceLifecycleListener( InstanceLifecycleListener listener ) Removes the listener instance from the list of lifecycle event listeners. Parameters: listener - the listener instance to be removed Since: JDO 2.0
4

getManagedObjects(states, classes)

Method javax.jdo.PersistenceManager Set getManagedObjects( EnumSet<ObjectState> states, Class... classes ) Get the objects managed by this persistence manager having the specified object states and being instances of the specified classes. Parameters: states - The states of objects
4

refreshAll(jdoe)

Method javax.jdo.PersistenceManager void refreshAll( JDOException jdoe ) Refreshes all instances in the exception that failed verification. Parameters: jdoe - Since: JDO 2.0
4

getManagedObjects(states)

Method javax.jdo.PersistenceManager Set getManagedObjects( EnumSet<ObjectState> states ) Get the objects managed by this persistence manager having the specified object states. Parameters: states - The states of objects that we are interested in Returns: the objects Since: JDO 2.1
4

refreshAll()

Method javax.jdo.PersistenceManager void refreshAll() Refresh the state of all applicable instances from the data store. If called with an active transaction, all transactional instances will be refreshed. If called outside an active transaction, all nontransactional instances will be refreshed. Since: JDO 1.0 See Also: refresh(Object pc)
4

getManagedObjects()

Method javax.jdo.PersistenceManager Set getManagedObjects() Get the objects managed by this persistence manager. Returns: the objects Since: JDO 2.1
4

makeTransactionalAll(pcs)

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

getManagedObjects(classes)

Method javax.jdo.PersistenceManager Set getManagedObjects( Class... classes ) Get the objects managed by this persistence manager being instances of the specified classes. Parameters: classes - The classes of objects that we are interested in Returns: the objects Since: JDO 2.1
4

refreshAll(pcs)

Method javax.jdo.PersistenceManager void refreshAll( Collection pcs ) Refresh the state of a Collection of instances from the data store. Parameters: pcs - the Collection of instances to refresh. Since: JDO 1.0 See Also: refresh(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