ObjectDB ObjectDB

Internal Website Search

61-70 of 193 resultsRefresh


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


Method javax.jdo.PersistenceManagerFactory boolean getRestoreValues() Get the default value for the RestoreValues property. Returns: the value of the restoreValues property Since: JDO 1.0

getPersistenceManager(userid, password)

Method javax.jdo.PersistenceManagerFactory PersistenceManager getPersistenceManager( String userid, String password ) Get an instance of PersistenceManager from this factory. The instance has default values for options. The parameters userid and password are used when obtaining datastore


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


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

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.

[ODB1] Chapter 2 - A Quick Tour

.ConnectionURL", "persons.odb"); 26 PersistenceManagerFactory pmf = 27

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory( Map ... a PersistenceManagerFactory configured based on the properties stored in the resource at name, or, if not found, returns a PersistenceManagerFactory with the given name or, if not found, returns a javax.persistence

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