Class AbstractManagedConnection

java.lang.Object
org.datanucleus.store.connection.AbstractManagedConnection
All Implemented Interfaces:
ManagedConnection

public abstract class AbstractManagedConnection extends Object implements ManagedConnection
Abstract implementation of a managed connection. There are three primary modes for a connection.
  • Transactional - the commit of connection is controlled external to this class, and when we release the connection it is handed back into a pooled state, available for reuse.
  • Non-transactional (1) - the commit of the connection happens at close and when we release the connection it closes the connection (after committing it).
  • Non-transactional (2) - the commit of the connection happens at release, and when we release the connection it is handed back into a pooled state, available for reuse.