|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogicalConnection
LogicalConnection contract
Method Summary | |
---|---|
void |
afterTransaction()
Signals the end of current transaction in which this logical connection operated. |
Connection |
close()
Release the underlying connection and clean up any other resources associated with this logical connection. |
Connection |
getConnection()
Retrieves the connection currently "logically" managed by this LogicalConnectionImpl. |
Connection |
getDistinctConnectionProxy()
Retrieves a distinct connection proxy. |
Connection |
getShareableConnectionProxy()
Retrieves the shareable connection proxy. |
boolean |
isOpen()
Is this logical connection open? Another phraseology sometimes used is: "are we logically connected"? |
boolean |
isPhysicallyConnected()
Is this logical connection instance "physically" connected. |
Method Detail |
---|
boolean isOpen()
boolean isPhysicallyConnected()
Connection getConnection()
Connection getShareableConnectionProxy()
Connection getDistinctConnectionProxy()
Connection close()
null
if Hibernate was managing connection.void afterTransaction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |