ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh
4

newQuery(cln)

Method javax.jdo.PersistenceManager Query newQuery( Extent cln ) Create a new Query with the Class of the candidate instances and candidate Extent. Parameters: cln - the Extent of candidate instances Returns: the new Query Since: JDO 1.0
4

refreshAll(pcs)

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

getTransactionalObjectId(pc)

Method javax.jdo.PersistenceManager Object getTransactionalObjectId( Object pc ) The ObjectId returned by this method represents the JDO identity of the instance. The ObjectId is a copy (clone) of the internal state of the instance, and changing it does not affect the JDO identity of the instance
4

newQuery(cls)

Method javax.jdo.PersistenceManager Query newQuery( Class cls ) Create a new Query specifying the Class of the candidate instances. Parameters: cls - the Class of the candidate instances Returns: the new Query Since: JDO 1.0
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

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

getServerDate()

Method javax.jdo.PersistenceManager Date getServerDate() Get the Date as seen by the server. Clients using this method can order their operations according to a single time source. Implementations use the setting of the server time zone to prepare a Date instance that represents UTC time
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

setDetachAllOnCommit(flag)

Method javax.jdo.PersistenceManager void setDetachAllOnCommit( boolean flag ) Sets the detachAllOnCommit setting. DetachAllOnCommit set to false specifies that the state of persistent instances in the cache after commit is defined by the retainValues flag. With this flag set to true

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