@Override
    protected Jdbi createInstance() throws Exception {
        final Jdbi jdbi = Jdbi.create(new SpringConnectionFactory(dataSource));

        if (autoInstallPlugins) {
            jdbi.installPlugins();
        }

        plugins.forEach(jdbi::installPlugin);

        globalDefines.forEach(jdbi::define);

        return jdbi;
    }
Utility class which constructs an {@link Jdbi} instance which can conveniently
participate in Spring's transaction management system.
spring/src/main/java/org/jdbi/v3/spring/JdbiFactoryBean.java