use of org.jdbi.v3.sqlobject.config.ValueColumn in project jdbi by jdbi.
the class ValueColumnImpl method configureForMethod.
@Override
public void configureForMethod(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType, Method method) {
ValueColumn valueColumn = (ValueColumn) annotation;
String name = valueColumn.value();
registry.get(MapEntryMappers.class).setValueColumn(name.isEmpty() ? null : name);
}
Aggregations