public interface LogicalConnection
Modifier and Type | Method and Description |
---|---|
java.sql.Connection |
close()
Closes the JdbcSession, making it inactive and forcing release of any held resources
|
ResourceRegistry |
getResourceRegistry()
Provides access to the registry of JDBC resources associated with this LogicalConnection.
|
boolean |
isOpen()
Is this (logical) JDBC Connection still open/active.
|
boolean |
isPhysicallyConnected()
Is this JdbcSession currently physically connected (meaning does it currently hold a JDBC Connection)?
|
boolean isOpen()
close()
not been called yet?java.sql.Connection close()
boolean isPhysicallyConnected()
true
if the JdbcSession currently hold a JDBC Connection; false
if it does not.ResourceRegistry getResourceRegistry()
ResourceClosedException
- if the LogicalConnection is closedCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.