Release v3.17.1
V3.17.1
- #505 Custom method to map objects
You can now specify a converter on the mapper factory, allowing you for example to use a custom method to instantiates enum as in the following example.
JdbcMapperFactory.newInstance()
.addColumnProperty("my_enum_column", ConverterProperty.of(MyEnum::factoryMethod))
.newMapper(MyClass.class);