use of org.jdbi.v3.guava.GuavaPlugin in project dropwizard by dropwizard.
the class JdbiFactory method configure.
/**
* Overridable function to allow extra customization of the created {@link Jdbi}
* instance.
*
* <p>
* If this is overridden it is strongly recommend that
* {@code super.configure(jdbi, configuration)} is invoked before any other
* changes are made if you intend to use the default as a base so that the
* customized settings will supersede the defaults
* </p>
*
* @param jdbi
*/
protected void configure(final Jdbi jdbi) {
jdbi.installPlugin(new SqlObjectPlugin());
jdbi.installPlugin(new JodaTimePlugin());
jdbi.installPlugin(new GuavaPlugin());
}
Aggregations