| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final boolean | |
| private static final Logger | |
| private transient Connection |
| Access | Constructor and Description |
|---|---|
| public | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected void | |
| public Connection | close()
Implements org. |
| public static LogicalConnectionProvidedImpl | |
| protected Connection | |
| public PhysicalConnectionHandlingMode | |
| public Connection | getPhysicalConnection()
Implements org. |
| public boolean | isOpen()
Implements org. |
| public boolean | isPhysicallyConnected()
Implements org. |
| public LogicalConnectionImplementor | makeShareableCopy()
Implements org. |
| public Connection | manualDisconnect()
Implements org. |
| public void | manualReconnect(Connection
For user supplied connection strategy the user needs to hand us the connection
with which to reconnect. It is an error to pass a connection in the other strategies. connection)Implements org. |
| public void | serialize(ObjectOutputStream
The stream to write out state to oos)Implements org. |
| closed | back to summary |
|---|---|
| private boolean closed | |
| initiallyAutoCommit | back to summary |
|---|---|
| private final boolean initiallyAutoCommit | |
| log | back to summary |
|---|---|
| private static final Logger log Hides org. | |
| providedConnection | back to summary |
|---|---|
| private transient Connection providedConnection | |
| LogicalConnectionProvidedImpl | back to summary |
|---|---|
| public LogicalConnectionProvidedImpl(Connection providedConnection, ResourceRegistry resourceRegistry) | |
| LogicalConnectionProvidedImpl | back to summary |
|---|---|
| private LogicalConnectionProvidedImpl(boolean closed, boolean initiallyAutoCommit) | |
| afterCompletion | back to summary |
|---|---|
| protected void afterCompletion() Overrides org.
| |
| 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 LogicalConnectionProvidedImpl deserialize(ObjectInputStream ois) throws IOException, ClassNotFoundException | |
| 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 connection) Implements org. Doc from org. Manually reconnect the underlying JDBC Connection. Should be called at some point after manualDisconnect().
| |
| serialize | back to summary |
|---|---|
| public void serialize(ObjectOutputStream oos) throws IOException Implements org. Doc from org. Serialization hook
| |