public interface LogicalConnection extends Serializable
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
boolean isOpen()
boolean isPhysicallyConnected()
Connection getConnection()
Connection close()
null
if Hibernate was managing connection.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.