Polishing

(cherry picked from commit 2ce75dc415)
This commit is contained in:
Juergen Hoeller
2023-08-14 19:28:19 +02:00
parent 3da7a35a91
commit 4326c53222
2 changed files with 3 additions and 4 deletions

View File

@@ -343,7 +343,7 @@ public class BeanPropertyRowMapper<T> implements RowMapper<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());
logger.debug(String.format(