public static <E extends Enum<E>> ColumnMapper<E> byName(Class<E> type) {
        return new EnumByNameColumnMapper<>(type);
    }
Map database string values to enum names.

@param <E> the enum type to map
@param type the enum type to map
@return an enum mapper that matches on {@link Enum#name()}
core/src/main/java/org/jdbi/v3/core/mapper/EnumMapper.java