public interface ConnectionDecorator
| Modifier and Type | Method and Description |
|---|---|
default void |
cleanup(Connection connection)
Cleans up a used connection before it is returned to a connection pool.
|
void |
configure(Connection connection)
Configures a newly allocated connection before use.
|
void configure(Connection connection) throws SQLException
connection - to apply configuration toNullPointerException - if the provided connection
is nullSQLExceptiondefault void cleanup(Connection connection) throws SQLException
connection - to apply configuration toNullPointerException - if the provided connection
is nullSQLExceptionCopyright © 2019 Speedment, Inc.. All rights reserved.