ObjectDB ObjectDB

getDataStoreConnection() - JDO PersistenceManager's method

Method
javax.jdo.PersistenceManager
JDOConnection getDataStoreConnection()

If this method is called while a datastore transaction is active, the object returned will be enlisted in the current transaction. If called in an optimistic transaction or outside an active transaction, the object returned will not be enlisted in any transaction.
Returns:
the JDOConnection instance
Since:
JDO 2.0