Fast Object Database for Java - with JPA/JDO support

Internal Website Search

51-60 of 200 resultsRefresh
44

refresh(pc)

Methodjavax.jdo.PersistenceManager void refresh( Object pc ) Refresh the state of the instance from the data store. In an optimistic transaction, the state of instances in the cache might not match the state in the data store. This method is used to reload the state of the instance from the data
44

makeTransactional(pc)

Method javax.jdo.PersistenceManager void makeTransactional( Object pc ) Make an instance subject to transactional boundaries. Transient instances normally do not observe transaction boundaries. This method makes transient instances sensitive to transaction completion. If an instance is modified in
44

refresh(pc)

Method javax.jdo.PersistenceManager void refresh( Object pc ) Refresh the state of the instance from the data store. In an optimistic transaction, the state of instances in the cache might not match the state in the data store. This method is used to reload the state of the instance from the data
44

flush()

Methodjavax.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
44

getExtent(persistenceCapableClass)

Method javax.jdo.PersistenceManager Extent getExtent( Class persistenceCapableClass ) Equivalent to getExtent (persistenceCapableClass, true). Parameters: persistenceCapableClass - Since: JDO 2.0 See Also: getExtent(Class,boolean)
44

putUserObject(key, val)

Method javax.jdo.PersistenceManager Object putUserObject( Object key, Object val ) Put the specified key-value pair into the map of user objects. Parameters: key - val - Since: JDO 2.0
44

makeNontransactionalAll(pcs)

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

evictAll(pcs)

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

newQuery(cln, filter)

Method javax.jdo.PersistenceManager Query newQuery( Extent cln, String filter ) Create a new Query with the candidate Extent and filter; the class is taken from the Extent. Parameters: cln - the Extent of candidate instances filter - the filter for candidate instances Returns: the new Query Since: JDO 1.0
44

getDetachAllOnCommit()

Method javax.jdo.PersistenceManager boolean getDetachAllOnCommit() Gets the detachAllOnCommit setting. Returns: the detachAllOnCommit setting. Since: JDO 2.0 See Also: setDetachAllOnCommit(boolean)

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