Fast Object Database for Java - with JPA/JDO support

About PersistenceManager

1-10 of 200 resultsRefresh
71

javax.jdo.PersistenceManager

javax.jdo Interface PersistenceManager PersistenceManager is the primary interface for JDO-aware ... to manage the life cycle of PersistenceCapable instances. A PersistenceManager is obtained from ... of interest to the listener Since: JDO 2.0 void checkConsistency() Validates the PersistenceManager cache
57

[ODB1] Chapter 5 - JDO Connections

is to provide PersistenceManager instances. The PersistenceManager interface represents a database connection. Every operation on a database requires a PersistenceManager instance. The Transaction ... time this method is called, a PersistenceManager instance representing a connection to the database
48

close()

Methodjavax.jdo.PersistenceManager void close() Close this PersistenceManager so that no further requests may be made on it. A PersistenceManager instance can be used only until it is closed. Closing a PersistenceManager might release it to the pool of available PersistenceManagers, or
48

close()

Method javax.jdo.PersistenceManager void close() Close this PersistenceManager so that no further requests may be made on it. A PersistenceManager instance can be used only until it is closed. Closing a PersistenceManager might release it to the pool of available PersistenceManagers, or
48

getFetchGroup(cls, name)

Method javax.jdo.PersistenceManager FetchGroup getFetchGroup( Class cls, String name ... the PersistenceManager scope, return it. If not, create and populate a new FetchGroup from the existing definition in the PersistenceManager or PersistenceManagerFactory. If the definition for the FetchGroup is not
47

makePersistent(pc)

Method javax.jdo.PersistenceManager T makePersistent( T pc ) Make the parameter instance persistent in this PersistenceManager. This method makes transient instances persistent and applies detached ... on parameter persistent instances already managed by this PersistenceManager. They will throw
47

setUserObject(o)

Method javax.jdo.PersistenceManager void setUserObject( Object o ) The application can manage the PersistenceManager instances more easily by having an application object associated with each PersistenceManager instance. Parameters: o - the user instance to be remembered by the PersistenceManager Since: JDO 1.0 See Also: getUserObject
47

getUserObject()

Method javax.jdo.PersistenceManager Object getUserObject() The application can manage the PersistenceManager instances more easily by having an application object associated with each PersistenceManager instance. Returns: the user object associated with this PersistenceManager Since: JDO 1.0 See Also: setUserObject
47

setMultithreaded(flag)

Method javax.jdo.PersistenceManager void setMultithreaded( boolean flag ) Set the Multithreaded flag for this PersistenceManager. Applications that use multiple threads to invoke methods or access fields from instances managed by this PersistenceManager must set this flag to true. Instances managed
47

currentTransaction()

Method javax.jdo.PersistenceManager Transaction currentTransaction() Return the Transaction instance associated with a PersistenceManager. There is one Transaction instance associated with each PersistenceManager instance. The Transaction instance supports options as well as transaction completion

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