Interface SingleConnectionProvider
public interface SingleConnectionProvider
Opens a single on-demand DB connection.
- Since:
- 8.0.0
-
Method Summary
Modifier and TypeMethodDescriptiongetConnection
(Properties databaseProperties) Opens a single on demand DB connection.
-
Method Details
-
getConnection
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.
-