Fast Object Database for Java - with JPA/JDO support

Internal Website Search

61-70 of 196 resultsRefresh


Method javax.jdo.PersistenceManagerFactory PersistenceManager getPersistenceManager() Get an instance of PersistenceManager from this factory. The instance has default values for options. After the first use of getPersistenceManager, no "set" methods will succeed. Returns: a PersistenceManager instance with default options. Since: JDO 1.0


Method javax.jdo.PersistenceManagerFactory void setConnectionURL( String url ) Set the URL for the data store connection. Parameters: url - the URL for the data store connection. Since: JDO 1.0


Method javax.jdo.PersistenceManagerFactory boolean getOptimistic() Get the default Optimistic setting for all PersistenceManager instances obtained from this factory. Returns: the default Optimistic setting. Since: JDO 1.0


Method javax.jdo.PersistenceManagerFactory void setConnectionPassword( String password ) Set the password for the data store connection. Parameters: password - the password for the data store connection. Since: JDO 1.0

JDO Reference (JavaDoc)

Java/JDO API Reference (based on the JDO 2.2 JavaDoc)


a PersistenceManagerFactory via various methods. This helper class defines static methods that allow a JDO ... .jdoGetPersistenceManager() PersistenceManagerFactory getPersistenceManagerFactory() Get the anonymous PersistenceManagerFactory configured via the standard configuration file resource "META-INF/jdoconfig.xml", using


PersistenceManagerFactory, which is the empty string. The name of the anonymous PersistenceManagerFactory ... See Also: PersistenceManagerFactory.getProperties() String NONCONFIGURABLE_PROPERTY_VERSION_NUMBER ... " Since: JDO 2.1 See Also: PersistenceManagerFactory.getProperties() String OPTION_APPLICATION_IDENTITY

[ODB1] Chapter 8 - ObjectDB Server

of the server has to be provided. If the PersistenceManagerFactory is initialized using a property ... Alternatively, the PersistenceManagerFactory's properties can be set at runtime: Properties ... .truststore.password", "ts-pwd"); PersistenceManagerFactory pmf = JDOHelper

How to upgrade from ObjectDB 1.0?

is more sensitive to failure to close a PersistenceManagerFactory. The database is closed only when the PersistenceManagerFactory closed, and until then changes might be applied only to the recovery file

JDO External Listeners

The following types can be used to implement external listener classes for JDO lifecycle events: Listener objects can be bound to one or more persistence capable classes by invoking the addInstanceLifecycleListner method either at the PersistenceManagerFactory level or the PersistenceManager level.

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