| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final transient PhysicalConnectionHandlingMode | |
| pack-priv boolean | |
| private final transient JdbcConnectionAccess | |
| private static final Logger | |
| private final transient JdbcObserver | observer
Deprecated
as a consequence of
JdbcObserver being deprecated.
|
| private transient Connection | |
| private boolean | |
| private final transient SqlExceptionHelper |
| Access | Constructor and Description |
|---|---|
| public | LogicalConnectionManagedImpl(JdbcConnectionAccess jdbcConnectionAccess, JdbcSessionContext jdbcSessionContext, ResourceRegistry resourceRegistry, JdbcServices jdbcServices)
|
| private | LogicalConnectionManagedImpl(JdbcConnectionAccess jdbcConnectionAccess, JdbcSessionContext jdbcSessionContext, boolean closed)
|
| closed | back to summary |
|---|---|
| private boolean closed | |
| connectionHandlingMode | back to summary |
|---|---|
| private final transient PhysicalConnectionHandlingMode connectionHandlingMode | |
| initiallyAutoCommit | back to summary |
|---|---|
| pack-priv boolean initiallyAutoCommit | |
| jdbcConnectionAccess | back to summary |
|---|---|
| private final transient JdbcConnectionAccess jdbcConnectionAccess | |
| log | back to summary |
|---|---|
| private static final Logger log Hides org. | |
| observer | back to summary |
|---|---|
| private final transient JdbcObserver observer
Deprecated as a consequence of | |
| physicalConnection | back to summary |
|---|---|
| private transient Connection physicalConnection | |
| providerDisablesAutoCommit | back to summary |
|---|---|
| private boolean providerDisablesAutoCommit | |
| sqlExceptionHelper | back to summary |
|---|---|
| private final transient SqlExceptionHelper sqlExceptionHelper | |
| LogicalConnectionManagedImpl | back to summary |
|---|---|
| public LogicalConnectionManagedImpl(JdbcConnectionAccess jdbcConnectionAccess, JdbcSessionContext jdbcSessionContext, ResourceRegistry resourceRegistry, JdbcServices jdbcServices) | |
| LogicalConnectionManagedImpl | back to summary |
|---|---|
| private LogicalConnectionManagedImpl(JdbcConnectionAccess jdbcConnectionAccess, JdbcSessionContext jdbcSessionContext, boolean closed) | |
| acquireConnectionIfNeeded | back to summary |
|---|---|
| private Connection acquireConnectionIfNeeded() | |
| afterCompletion | back to summary |
|---|---|
| protected void afterCompletion() Overrides org.
| |
| afterStatement | back to summary |
|---|---|
| public void afterStatement() Overrides org. Implements org. Doc from org. Notification indicating a JDBC statement has been executed to trigger
| |
| afterTransaction | back to summary |
|---|---|
| public void afterTransaction() Overrides org. Implements org. Doc from org. Notification indicating a transaction has completed to trigger
| |
| beforeTransactionCompletion | back to summary |
|---|---|
| public void beforeTransactionCompletion() Implements org. Doc from org. Notification indicating a transaction is about to be completed, so to trigger
releasing of the connection if needed (
| |
| begin | back to summary |
|---|---|
| public void begin() Overrides org. Implements org. Doc from org. Begin the resource transaction
| |
| close | back to summary |
|---|---|
| public Connection close() Implements org. Doc from org. Closes the JdbcSession, making it inactive and forcing release of any held resources
| |
| deserialize | back to summary |
|---|---|
| public static LogicalConnectionManagedImpl deserialize(ObjectInputStream ois, JdbcConnectionAccess jdbcConnectionAccess, JdbcSessionContext jdbcSessionContext) throws IOException | |
| determineConnectionHandlingMode | back to summary |
|---|---|
| private PhysicalConnectionHandlingMode determineConnectionHandlingMode(PhysicalConnectionHandlingMode connectionHandlingMode, JdbcConnectionAccess jdbcConnectionAccess) | |
| doConnectionsFromProviderHaveAutoCommitDisabled | back to summary |
|---|---|
protected boolean doConnectionsFromProviderHaveAutoCommitDisabled()
| |
| getConnectionForTransactionManagement | back to summary |
|---|---|
| protected Connection getConnectionForTransactionManagement() Implements abstract org.
| |
| getConnectionHandlingMode | back to summary |
|---|---|
| public PhysicalConnectionHandlingMode getConnectionHandlingMode() Implements org.
| |
| getPhysicalConnection | back to summary |
|---|---|
| public Connection getPhysicalConnection() Implements org. Doc from org. Exposes access to the "real" Connection.
| |
| isOpen | back to summary |
|---|---|
| public boolean isOpen() Implements org. Doc from org. Is this (logical) JDBC Connection still open/active. In other words, has | |
| isPhysicallyConnected | back to summary |
|---|---|
| public boolean isPhysicallyConnected() Implements org. Doc from org. Is this JdbcSession currently physically connected (meaning does it currently hold a JDBC Connection)?
| |
| makeShareableCopy | back to summary |
|---|---|
| public LogicalConnectionImplementor makeShareableCopy() Implements org. Doc from org. Creates a shareable copy of itself for use in "shared sessions"
| |
| manualDisconnect | back to summary |
|---|---|
| public Connection manualDisconnect() Implements org. Doc from org. Manually disconnect the underlying JDBC Connection. The assumption here is that the manager will be reconnected at a later point in time.
| |
| manualReconnect | back to summary |
|---|---|
| public void manualReconnect(Connection suppliedConnection) Implements org. Doc from org. Manually reconnect the underlying JDBC Connection. Should be called at some point after manualDisconnect().
| |
| releaseConnection | back to summary |
|---|---|
| private void releaseConnection() | |
| serialize | back to summary |
|---|---|
| public void serialize(ObjectOutputStream oos) throws IOException Implements org. Doc from org. Serialization hook
| |