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