Skip to content

Commit 46363c3

Browse files
committed
Avoid confusing debug log entries with DataClassRowMapper
Closes gh-28179
1 parent c1261f2 commit 46363c3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -341,12 +341,6 @@ public T mapRow(ResultSet rs, int rowNumber) throws SQLException {
341341
"Unable to map column '" + column + "' to property '" + pd.getName() + "'", ex);
342342
}
343343
}
344-
else {
345-
// No PropertyDescriptor found
346-
if (rowNumber == 0 && logger.isDebugEnabled()) {
347-
logger.debug("No property found for column '" + column + "' mapped to field '" + field + "'");
348-
}
349-
}
350344
}
351345

352346
if (populatedProperties != null && !populatedProperties.equals(this.mappedProperties)) {

0 commit comments

Comments
 (0)