Ignore case on compare

This commit is contained in:
Amir Behnam 2018-12-17 09:11:50 -05:00
parent 41b5e496b1
commit 4d5d8f9f56

View File

@ -408,7 +408,7 @@ public class DefaultRecordMapper<R extends Record, E> implements RecordMapper<R,
String name = parameter.call("getName").<String>get();
// [#8004] Clean up kotlin field name for boolean types
if ("boolean".equals(type.getTypeName()) && name.startsWith("is")) {
if ("boolean".equalsIgnoreCase(type.getTypeName()) && name.startsWith("is")) {
name = getPropertyName(name);
}
parameterNames.add(name);