static <E> E bind(Jdbi jdbi, Class<E> extensionType) {
        InvocationHandler invocationHandler = createInvocationHandler(jdbi, extensionType);
        return extensionType.cast(createProxy(invocationHandler, extensionType, SqlObject.class));
    }
Proxies the extension object to bind it to the jta framework. Creates and closes the handle if needed.
spring5/src/main/java/org/jdbi/v3/spring5/JdbiJtaBinder.java