|
||||||||||
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 (see org.hibernate.engine.jdbc.internal.proxy for details). |
Connection |
getShareableConnectionProxy()
Retrieves the shareable connection proxy (see org.hibernate.engine.jdbc.internal.proxy for details). |
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()
org.hibernate.engine.jdbc.internal.proxy
for details).
Connection getDistinctConnectionProxy()
org.hibernate.engine.jdbc.internal.proxy
for details). It
is distinct in that it is not shared with others unless the caller explicitly shares it.
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 |