public interface JdbiPlugin
Jdbi
types before they are returned from their factories.| Modifier and Type | Method and Description |
|---|---|
default Connection |
customizeConnection(Connection conn)
Configure customizations for a newly acquired Connection.
|
default Handle |
customizeHandle(Handle handle)
Configure customizations for a new Handle instance.
|
default void |
customizeJdbi(Jdbi jdbi)
Configure customizations global to any object managed by this Jdbi.
|
default Connection customizeConnection(Connection conn) throws SQLException
conn - the connection Jdbi acquiredSQLException - something went wrong with the databasedefault Handle customizeHandle(Handle handle) throws SQLException
handle - the handle just createdSQLException - something went wrong with the databasedefault void customizeJdbi(Jdbi jdbi) throws SQLException
jdbi - the jdbi to customizeSQLException - something went wrong with the databaseCopyright © 2019. All rights reserved.