Method Summary |
|
public synchronized void | close() |
public synchronized boolean | equals(Object obj) |
public boolean | getAutoCreateTables() Get the default AutoCreateTables setting for all
PersistenceManager instances obtained from this factory. |
public String | getConnectionDriverName() Get the driver name for the data store connection. |
public Object | getConnectionFactory() Get the data store connection factory. |
public Object | getConnectionFactory2() Get the second data store connection factory. |
public String | getConnectionFactory2Name() Get the name for the second data store connection factory. |
public String | getConnectionFactoryName() Get the name for the data store connection factory. |
public String | getConnectionURL() Get the URL for the data store connection. |
public String | getConnectionUserName() Get the user name for the data store connection. |
public boolean | getIgnoreCache() Get the default IgnoreCache setting for all PersistenceManager instances
obtained from this factory. |
public int | getMaxPool() Get the MaxPool setting for the PersistenceManager
pool for this factory. |
public int | getMinPool() Get the MinPool setting for the PersistenceManager
pool for this factory. |
public int | getMsWait() Get the MsWait setting for the PersistenceManager
pool for this factory. |
public boolean | getMultithreaded() Get the default Multithreaded setting for all PersistenceManager instances
obtained from this factory. |
public synchronized DataSource | getNontransactionalDataSource() Returns the data source to be used for non-transactional access. |
public boolean | getNontransactionalRead() Get the default NontransactionalRead setting for all PersistenceManager instances
obtained from this factory. |
public boolean | getNontransactionalWrite() Get the default NontransactionalWrite setting for all PersistenceManager instances
obtained from this factory. |
public boolean | getOptimistic() Get the default Optimistic setting for all PersistenceManager instances
obtained from this factory. |
public synchronized PersistenceManager | getPersistenceManager() Get an instance of PersistenceManager from this factory. |
public synchronized PersistenceManager | getPersistenceManager(String userName, String password) Get an instance of PersistenceManager from this factory. |
public static synchronized PersistenceManagerFactory | getPersistenceManagerFactory(Properties props) Return a new PersistenceManagerFactoryImpl with options set according
to the given Properties.
Parameters: props - The Properties to initialize the PersistenceManagerFactory with. |
public Properties | getProperties() Return non-configurable properties of this PersistenceManagerFactory.
Properties with keys VendorName and VersionNumber are required. |
public boolean | getRestoreValues() Get the default RestoreValues setting for all PersistenceManager instances
obtained from this factory. |
public boolean | getRetainValues() Get the default RetainValues setting for all PersistenceManager instances
obtained from this factory. |
public int | getTransactionIsolation() Get the default transaction isolation level for all
PersistenceManager instances obtained from this factory. |
public synchronized DataSource | getTransactionalDataSource() Returns the data source to be used for transactional access. |
public boolean | getValidateConstraints() Get the default ValidateConstraints setting for all
PersistenceManager instances obtained from this factory. |
public boolean | getValidateTables() Get the default ValidateTables setting for all
PersistenceManager instances obtained from this factory. |
public synchronized int | hashCode() |
synchronized void | pmClosed(PersistenceManagerImpl pm) |
public synchronized void | setAutoCreateTables(boolean flag) Set the default AutoCreateTables setting for all
PersistenceManager instances obtained from this factory. |
public synchronized void | setConnectionDriverName(String driverName) Set the driver name for the data store connection. |
public synchronized void | setConnectionFactory(Object connectionFactory) Set the data store connection factory. |
public synchronized void | setConnectionFactory2(Object connectionFactory2) Set the second data store connection factory. |
public synchronized void | setConnectionFactory2Name(String connectionFactory2Name) Set the name for the second data store connection factory. |
public synchronized void | setConnectionFactoryName(String connectionFactoryName) Set the name for the data store connection factory. |
public synchronized void | setConnectionPassword(String password) Set the password for the data store connection. |
public synchronized void | setConnectionURL(String URL) Set the URL for the data store connection. |
public synchronized void | setConnectionUserName(String userName) Set the user name for the data store connection. |
public synchronized void | setIgnoreCache(boolean flag) Set the default IgnoreCache setting for all PersistenceManager instances
obtained from this factory. |
public synchronized void | setMaxPool(int maxPool) Set the MaxPool setting for the PersistenceManager
pool for this factory. |
public synchronized void | setMinPool(int minPool) Set the MinPool setting for the PersistenceManager
pool for this factory. |
public synchronized void | setMsWait(int msWait) Set the MsWait setting for the PersistenceManager
pool for this factory. |
public synchronized void | setMultithreaded(boolean flag) Set the default Multithreaded setting for all PersistenceManager instances
obtained from this factory. |
public synchronized void | setNontransactionalRead(boolean flag) Set the default NontransactionalRead setting for all PersistenceManager instances
obtained from this factory. |
public synchronized void | setNontransactionalWrite(boolean flag) Set the default NontransactionalWrite setting for all PersistenceManager instances
obtained from this factory. |
public synchronized void | setOptimistic(boolean flag) Set the default Optimistic setting for all PersistenceManager instances
obtained from this factory. |
public synchronized void | setRestoreValues(boolean flag) Set the default RestoreValues setting for all PersistenceManager instances
obtained from this factory. |
public synchronized void | setRetainValues(boolean flag) Set the default RetainValues setting for all PersistenceManager instances
obtained from this factory. |
public synchronized void | setTransactionIsolation(int isolationLevel) Set the default transaction isolation level for all
PersistenceManager instances obtained from this factory. |
public synchronized void | setValidateConstraints(boolean flag) Set the default ValidateConstraints setting for all
PersistenceManager instances obtained from this factory. |
public synchronized void | setValidateTables(boolean flag) Set the default ValidateTables setting for all
PersistenceManager instances obtained from this factory. |
public Collection | supportedOptions() The application can determine from the results of this method which
optional features, and which query languages are supported by the JDO
implementation. |