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 null
SQLException
default void cleanup(Connection connection) throws SQLException
connection
- to apply configuration toNullPointerException
- if the provided connection
is null
SQLException
Copyright © 2019 Speedment, Inc.. All rights reserved.