private Optional<ColumnMapper<?>> elementTypeMapper(Type elementType, ConfigRegistry config) {
        Optional<ColumnMapper<?>> mapper = config.get(ColumnMappers.class).findFor(elementType);

        if (!mapper.isPresent() && elementType == Object.class) {
            return Optional.of((rs, num, context) -> rs.getObject(num));
        }

        return mapper;
    }
Maps SQL array columns into Java arrays or other Java container types.
Supports any Java array type for which a {@link ColumnMapper} is registered
for the array element type. Supports any other container type for which a
{@link org.jdbi.v3.core.collector.CollectorFactory} is registered, and for which
a {@link ColumnMapper} is registered for the container element type.
core/src/main/java/org/jdbi/v3/core/array/SqlArrayMapperFactory.java