LogicalConnection.
org.hibernate.engine.jdbc.spi.JdbcCoordinator#getLogicalConnection()
| Modifier and Type | Method and Description |
|---|---|
| public void | afterStatement()
Notification indicating a JDBC statement has been executed, to trigger
|
| public void | afterTransaction()
Notification indicating a transaction has just completed, to trigger
|
| public void | beforeTransactionCompletion()
Notification indicating a transaction is about to be completed, to
trigger release of the JDBC connection if needed, that is, if
|
| public PhysicalConnectionHandlingMode | |
| public Connection | |
| public PhysicalJdbcTransaction | |
| public Connection | Returns: The connection maintained here at time of disconnect.null if there was no connection cached internally.Manually disconnect the underlying JDBC Connection. |
| 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. suppliedConnection)Manually reconnect the underlying JDBC Connection. |
| public void |
| afterStatement | back to summary |
|---|---|
| public void afterStatement() Notification indicating a JDBC statement has been executed, to trigger
| |
| afterTransaction | back to summary |
|---|---|
| public void afterTransaction() Notification indicating a transaction has just completed, to trigger
| |
| beforeTransactionCompletion | back to summary |
|---|---|
| public void beforeTransactionCompletion() Notification indicating a transaction is about to be completed, to
trigger release of the JDBC connection if needed, that is, if
| |
| getConnectionHandlingMode | back to summary |
|---|---|
| public PhysicalConnectionHandlingMode getConnectionHandlingMode() | |
| getPhysicalConnection | back to summary |
|---|---|
| public Connection getPhysicalConnection() Exposes access to the "real"
| |
| getPhysicalJdbcTransaction | back to summary |
|---|---|
| public PhysicalJdbcTransaction getPhysicalJdbcTransaction() Access to the current underlying JDBC transaction. | |
| manualDisconnect | back to summary |
|---|---|
| public Connection manualDisconnect() 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) Manually reconnect the underlying JDBC Connection.
Should be called at some point after
| |
| serialize | back to summary |
|---|---|
| public void serialize(ObjectOutputStream oos) throws IOException Serialization hook.
| |