public <T> T attach(Class<T> extensionType) {
        return getConfig(Extensions.class)
                .findFor(extensionType, ConstantHandleSupplier.of(this))
                .orElseThrow(() -> new NoSuchExtensionException(extensionType));
    }
Create a Jdbi extension object of the specified type bound to this handle. The returned extension's lifecycle is
coupled to the lifecycle of this handle. Closing the handle will render the extension unusable.

@param extensionType the extension class
@param <T>           the extension type
@return the new extension object bound to this handle
core/src/main/java/org/jdbi/v3/core/Handle.java