ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
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

evictAll(pcs)

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)
4

evictAll()

Method javax.jdo.PersistenceManager void evictAll() Mark all persistent-nontransactional instances as no longer needed in the cache. It transitions all persistent-nontransactional instances to hollow. Transactional instances are subject to eviction based on the RetainValues setting. Since: JDO 1.0 See Also: evict(Object pc)
4

evictAll(subclasses, pcClass)

Method javax.jdo.PersistenceManager void evictAll( boolean subclasses, Class pcClass ) Mark the parameter instances as no longer needed in the cache. Parameters: subclasses - if true, mark instances of subclasses also pcClass - the class of instances to evict Since: JDO 2.1
4

makeTransactionalAll(pcs)

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)
4

newInstance(pcClass)

Method javax.jdo.PersistenceManager T newInstance( Class<T> pcClass ) Creates an instance of a persistence-capable interface, or of a concrete or abstract class. The returned instance is transient. Parameters: pcClass - Must be a persistence-capable interface, or a concrete or abstract class
4

getExtent(persistenceCapableClass)

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

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)
4

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
4

newQuery(query)

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

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