Browse Source

Avoid confusing debug log entries with DataClassRowMapper

Closes gh-28179
pull/27953/head
Juergen Hoeller 4 years ago
parent
commit
46363c337b
  1. 6
      spring-jdbc/src/main/java/org/springframework/jdbc/core/BeanPropertyRowMapper.java

6
spring-jdbc/src/main/java/org/springframework/jdbc/core/BeanPropertyRowMapper.java

@ -341,12 +341,6 @@ public class BeanPropertyRowMapper<T> implements RowMapper<T> { @@ -341,12 +341,6 @@ public class BeanPropertyRowMapper<T> implements RowMapper<T> {
"Unable to map column '" + column + "' to property '" + pd.getName() + "'", ex);
}
}
else {
// No PropertyDescriptor found
if (rowNumber == 0 && logger.isDebugEnabled()) {
logger.debug("No property found for column '" + column + "' mapped to field '" + field + "'");
}
}
}
if (populatedProperties != null && !populatedProperties.equals(this.mappedProperties)) {

Loading…
Cancel
Save