ObjectDB ObjectDB

getNativeConnection() - JDO JDOConnection's method

Method
javax.jdo.datastore.JDOConnection
Object getNativeConnection()

Returns the native, datastore-specific connection that this connection wraps. In general, it is not recommended that this native connection be used directly, since the JDO implementation has no way to intercept calls to it, so it is quite possible to put the PersistenceManager's connection into an invalid state.
Returns:
the native connection
Since:
JDO 2.0