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.
Internal Website Search61-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
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
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
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
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.