public final <T> T attach(final Class<T> extension) {
        return getSharedHandle().attach(extension);
    }
Convenience method to attach an extension (such as a SqlObject) to the shared handle.
testing/src/main/java/org/jdbi/v3/testing/junit5/JdbiExtension.java