Polishing

This commit is contained in:
Juergen Hoeller
2023-08-14 19:39:19 +02:00
parent 45c20e34e4
commit cf75a09011
7 changed files with 44 additions and 45 deletions

View File

@@ -330,7 +330,7 @@ public class BeanPropertyRowMapper<T> implements Function<Readable, T> {
bw.setPropertyValue(pd.getName(), value);
}
catch (TypeMismatchException ex) {
if (value == null && this.primitivesDefaultedForNullValue) {
if (value == null && isPrimitivesDefaultedForNullValue()) {
if (logger.isDebugEnabled()) {
String propertyType = ClassUtils.getQualifiedName(pd.getPropertyType());
//here too, we miss the rowNumber information