- All Known Subinterfaces:
- All Known Implementing Classes:
public interface LogicalConnectionModels the logical notion of a JDBC Connection. We may release/re-acquire physical JDBC connections under the covers, but this logically represents the overall access to the JDBC Connection.
All Methods Instance Methods Abstract Methods Modifier and Type Method Description
close()Closes the JdbcSession, making it inactive and forcing release of any held resources
getResourceRegistry()Provides access to the registry of JDBC resources associated with this LogicalConnection.
isOpen()Is this (logical) JDBC Connection still open/active.
isPhysicallyConnected()Is this JdbcSession currently physically connected (meaning does it currently hold a JDBC Connection)?
boolean isOpen()Is this (logical) JDBC Connection still open/active. In other words, has
close()not been called yet?
Connection close()Closes the JdbcSession, making it inactive and forcing release of any held resources
- Legacy :( Returns the JDBC Connection *if* the user passed in a Connection originally.
trueif the JdbcSession currently hold a JDBC Connection;
falseif it does not.