|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogicalConnectionImplementor
The "internal" contract for LogicalConnection
| Method Summary | |
|---|---|
void |
addObserver(ConnectionObserver observer)
Add an observer interested in notification of connection events. |
void |
aggressiveRelease()
|
ConnectionReleaseMode |
getConnectionReleaseMode()
The release mode under which this logical connection is operating. |
JdbcServices |
getJdbcServices()
Obtains the JDBC services associated with this logical connection. |
boolean |
isAutoCommit()
|
boolean |
isUserSuppliedConnection()
|
Connection |
manualDisconnect()
Manually disconnect the underlying JDBC Connection. |
void |
manualReconnect(Connection suppliedConnection)
Manually reconnect the underlying JDBC Connection. |
void |
notifyObserversStatementPrepared()
|
void |
releaseConnection()
|
void |
removeObserver(ConnectionObserver connectionObserver)
Remove an observer |
| Methods inherited from interface org.hibernate.engine.jdbc.spi.LogicalConnection |
|---|
close, getConnection, isOpen, isPhysicallyConnected |
| Method Detail |
|---|
JdbcServices getJdbcServices()
void addObserver(ConnectionObserver observer)
observer - The observer.void removeObserver(ConnectionObserver connectionObserver)
connectionObserver - The observer to remove.ConnectionReleaseMode getConnectionReleaseMode()
Connection manualDisconnect()
void manualReconnect(Connection suppliedConnection)
suppliedConnection - 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.void aggressiveRelease()
void releaseConnection()
throws JDBCException
JDBCExceptionboolean isAutoCommit()
void notifyObserversStatementPrepared()
boolean isUserSuppliedConnection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||