com.solarmetric.kodo.impl.jdbc.runtime
Class PersistenceManagerConnector
java.lang.Object
|
+--com.solarmetric.kodo.impl.jdbc.runtime.DataSourceConnector
|
+--com.solarmetric.kodo.impl.jdbc.runtime.PersistenceManagerConnector
- All Implemented Interfaces:
- Connector
- public class PersistenceManagerConnector
- extends DataSourceConnector
A Connector that uses a PersistencemanagerImpl's
ConnectionFactory and its own authentication information to
obtain a Connection.
- Since:
- 2.4
PersistenceManagerConnector
public PersistenceManagerConnector(PersistenceManagerImpl pm)
- Construct a
Connector with the ConnectionFactory settings
in the PersistenceManagerImpl.
PersistenceManagerConnector
public PersistenceManagerConnector(PersistenceManagerImpl pm,
boolean connectionFactory2)
- Construct a
Connector with the ConnectionFactory settings
in the PersistenceManagerImpl.
- Parameters:
pm - the PersistenceManagerImpl to useconnectionFactory2 - if true, the ConnectionFactory2
(non-transaction) will be used to
access the data store. Otherwise, the
normal ConnectionFactory will be used.
Copyright 2001,2002,2003 SolarMetric, Inc. All Rights Reserved.