ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh
4

newQuery(language, query)

Method javax.jdo.PersistenceManager Query newQuery( String language, Object query ) Create a new Query using the specified language. Parameters: language - the language of the query parameter query - the query, which is of a form determined by the language Returns: the new Query Since: JDO 1.0
4

newNamedQuery(cls, queryName)

Method javax.jdo.PersistenceManager Query newNamedQuery( Class cls, String queryName ) Create a new Query with the given candidate class from a named query. The query name given must be the name of a query defined in metadata. Parameters: cls - the Class of candidate instances queryName - the name
4

newQuery()

Method javax.jdo.PersistenceManager Query newQuery() Create a new Query with no elements. Returns: the new Query. Since: JDO 1.0
4

newObjectIdInstance(pcClass, key)

Method javax.jdo.PersistenceManager Object newObjectIdInstance( Class pcClass, Object key ) This method returns an object id instance corresponding to the pcClass and key arguments. Parameters: pcClass - the Class of the persistence-capable instance key - for single-field identity, the parameter
4

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

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

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

getSequence(name)

Method javax.jdo.PersistenceManager Sequence getSequence( String name ) Returns the sequence identified by name. Parameters: name - the name of the Sequence Returns: the Sequence 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