Package org.dalesbred.connection
Interface ConnectionProvider
- All Known Implementing Classes:
DataSourceConnectionProvider
,DriverManagerConnectionProvider
public interface ConnectionProvider
Abstracts the mechanism for opening and closing connections.
-
Method Summary
Modifier and TypeMethodDescription@NotNull Connection
void
releaseConnection
(@NotNull Connection connection)
-
Method Details
-
getConnection
- Throws:
SQLException
-
releaseConnection
- Throws:
SQLException
-