Interface SingleConnectionProvider
-
public interface SingleConnectionProvider
Opens a single on-demand DB connection.- Since:
- 8.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Connection
getConnection(Properties databaseProperties)
Opens a single on demand DB connection.
-
-
-
Method Detail
-
getConnection
Connection getConnection(Properties databaseProperties) throws SQLException
Opens a single on demand DB connection. It is the responsibility of the caller to callConnection.close()
.- Throws:
SQLException
- if there is a problem opening the connection.
-
-