supportedOptions() The application can determine from the results of this
method which optional features, and which query languages
are supported by the JDO implementation.
Get the second data store connection factory. This is
needed for managed environments to get nontransactional connections for
optimistic transactions.
the data store connection factory.
Get the name for the second data store connection factory. This is
needed for managed environments to get nontransactional connections for
optimistic transactions.
the name of the data store connection factory.
Get the default NontransactionalRead setting for all PersistenceManager instances
obtained from this factory.
the default NontransactionalRead setting.
Get the default NontransactionalWrite setting for all PersistenceManager instances
obtained from this factory.
the default NontransactionalWrite setting.
public PersistenceManager getPersistenceManager()(Code)
Get an instance of PersistenceManager from this factory. The instance has
default values for options.
Invokes init at the first call.
a PersistenceManager instance with default options.
getPersistenceManager
public PersistenceManager getPersistenceManager(String userid, String password)(Code)
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 connections from the connection pool.
Invokes init at the first call.
Parameters: userid - the userid for the connection Parameters: password - the password for the connection a PersistenceManager instance with default options.
getPersistenceManager
public synchronized PersistenceManager getPersistenceManager(Object cs)(Code)
public synchronized void removeInstanceLifecycleListener(InstanceLifecycleListener l)(Code)
setConnectionDriverName
public void setConnectionDriverName(String driverName)(Code)
Set the driver name for the data store connection.
Parameters: driverName - the driver name for the data store connection.
setConnectionFactory
public void setConnectionFactory(Object connectionFactory)(Code)
Set the data store connection factory. JDO implementations
will support specific connection factories. The connection
factory interfaces are not part of the JDO specification.
Parameters: connectionFactory - the data store connection factory.
setConnectionFactory2
public void setConnectionFactory2(Object connectionfactory)(Code)
Set the second data store connection factory. This is
needed for managed environments to get nontransactional connections for
optimistic transactions. JDO implementations
will support specific connection factories. The connection
factory interfaces are not part of the JDO specification.
Parameters: connectionfactory - the data store connection factory.
setConnectionFactory2Name
public void setConnectionFactory2Name(String connectionFactoryName)(Code)
Set the name for the second data store connection factory. This is
needed for managed environments to get nontransactional connections for
optimistic transactions.
Parameters: connectionFactoryName - the name of the data store connection factory.
setConnectionFactoryName
public void setConnectionFactoryName(String connectionFactoryName)(Code)
Set the name for the data store connection factory.
Parameters: connectionFactoryName - the name of the data store connection factory.
setConnectionPassword
public void setConnectionPassword(String password)(Code)
Set the password for the data store connection.
Parameters: password - the password for the data store connection.
Set the default IgnoreCache setting for all PersistenceManager instances
obtained from this factory.
Parameters: flag - the default IgnoreCache setting.
Set the default Multithreaded setting for all PersistenceManager instances
obtained from this factory.
Parameters: flag - the default Multithreaded setting.
setNontransactionalRead
public void setNontransactionalRead(boolean flag)(Code)
Set the default NontransactionalRead setting for all PersistenceManager instances
obtained from this factory.
Parameters: flag - the default NontransactionalRead setting.
setNontransactionalWrite
public void setNontransactionalWrite(boolean flag)(Code)
Set the default NontransactionalWrite setting for all PersistenceManager instances
obtained from this factory.
Parameters: flag - the default NontransactionalWrite setting.
Set the default RetainValues setting for all PersistenceManager instances
obtained from this factory.
Parameters: flag - the default RetainValues setting.
The application can determine from the results of this
method which optional features, and which query languages
are supported by the JDO implementation.
Each supported JDO optional feature is represented by a
String with one of the following values:
javax.jdo.option.TransientTransactional
javax.jdo.option.NontransactionalRead
javax.jdo.option.NontransactionalWrite
javax.jdo.option.RetainValues
javax.jdo.option.Optimistic
javax.jdo.option.ApplicationIdentity
javax.jdo.option.DatastoreIdentity
javax.jdo.option.NonDatastoreIdentity
javax.jdo.option.ArrayList
javax.jdo.option.HashMap
javax.jdo.option.Hashtable
javax.jdo.option.LinkedList
javax.jdo.option.TreeMap
javax.jdo.option.TreeSet
javax.jdo.option.Vector
javax.jdo.option.Map
javax.jdo.option.List
javax.jdo.option.Array
javax.jdo.option.NullCollection
The standard JDO query language is represented by a String:
javax.jdo.query.JDOQL
the List of String representing the supported Options