@FunctionalInterface public interface ConnectionFactory
Connection instances to a created Handle and allows
custom close handling.| Modifier and Type | Method and Description |
|---|---|
default void |
closeConnection(Connection conn)
Close a connection.
|
Connection |
openConnection()
Open a connection.
|
default void closeConnection(Connection conn) throws SQLException
conn - the connection to closeSQLException - if anything goes wrongConnection openConnection() throws SQLException
SQLException - if anything goes wrongCopyright © 2019. All rights reserved.