Polishing

This commit is contained in:
Juergen Hoeller
2023-08-14 19:28:19 +02:00
parent 8b3ddeed05
commit 2ce75dc415
7 changed files with 23 additions and 30 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("""