ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
7

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
5

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

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
4

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
4

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
4

getObjectId(pc)

Method javax.jdo.PersistenceManager Object getObjectId( Object pc ) The ObjectId returned by ... instance. The identity is guaranteed to be unique only in the context of the JDO PersistenceManager ... instances associated with the PersistenceManager regardless of the type of ObjectId. The ObjectId does not
4

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
4

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
4

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
4

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

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