Search in sources :

Example 1 with RegisterColumnMapperFactories

use of org.jdbi.v3.sqlobject.config.RegisterColumnMapperFactories in project jdbi by jdbi.

the class RegisterColumnMapperFactoriesImpl method configureForType.

@Override
public void configureForType(ConfigRegistry registry, Annotation annotation, Class<?> sqlObjectType) {
    Configurer delegate = new RegisterColumnMapperFactoryImpl();
    RegisterColumnMapperFactories registerColumnMapperFactories = (RegisterColumnMapperFactories) annotation;
    Stream.of(registerColumnMapperFactories.value()).forEach(anno -> delegate.configureForType(registry, anno, sqlObjectType));
}
Also used : RegisterColumnMapperFactories(org.jdbi.v3.sqlobject.config.RegisterColumnMapperFactories) Configurer(org.jdbi.v3.sqlobject.config.Configurer)

Aggregations

Configurer (org.jdbi.v3.sqlobject.config.Configurer)1 RegisterColumnMapperFactories (org.jdbi.v3.sqlobject.config.RegisterColumnMapperFactories)1