Class ConditionallyCloseableConnection

java.lang.Object
io.helidon.integrations.jdbc.DelegatingConnection
io.helidon.integrations.jdbc.ConditionallyCloseableConnection
All Implemented Interfaces:
AutoCloseable, Connection, Wrapper

public class ConditionallyCloseableConnection extends DelegatingConnection
A JDBC 4.3-compliant DelegatingConnection whose close() method may or may not close it depending on other partial state.

Thread Safety

Instances of this class are not necessarily safe for concurrent use by multiple threads because their Connection delegates may not be. JDBC 4.3 does not require thread safety from any JDBC construct.

See Also: