ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh
4

makeNontransactional(pc)

Method javax.jdo.PersistenceManager void makeNontransactional( Object pc ) Make an instance non-transactional after commit. Normally, at transaction completion, instances are evicted from the cache. This method allows an application to identify an instance as not being evicted from the cache
4

newQuery(cls, cln, filter)

Method javax.jdo.PersistenceManager Query newQuery( Class cls, Collection cln, String filter ) Create a new Query with the Class of the candidate instances, candidate Collection, and filter. Parameters: cls - the Class of candidate instances cln - the Collection of candidate instances filter
4

getDataStoreConnection()

Method javax.jdo.PersistenceManager JDOConnection getDataStoreConnection() If this method is called while a datastore transaction is active, the object returned will be enlisted in the current transaction. If called in an optimistic transaction or outside an active transaction, the object returned
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

getCopyOnAttach()

Method javax.jdo.PersistenceManager boolean getCopyOnAttach() Gets the copyOnAttach setting. Returns: the copyOnAttach setting. Since: JDO 2.1 See Also: setCopyOnAttach(boolean)
4

getUserObject(key)

Method javax.jdo.PersistenceManager Object getUserObject( Object key ) Get the value for the specified key from the map of user objects. Parameters: key - the key of the object to be returned Returns: the object Since: JDO 2.0
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

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

flush()

Method javax.jdo.PersistenceManager void flush() Flushes all dirty, new, and deleted instances to the data store. It has no effect if a transaction is not active. If a datastore transaction is active, this method synchronizes the cache with the datastore and reports any exceptions. If an optimistic
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

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