Browse Source

Merge branch '5.3.x'

# Conflicts:
#	build.gradle
pull/28059/head
Juergen Hoeller 4 years ago
parent
commit
c3aed75b92
  1. 3
      spring-core/spring-core.gradle
  2. 6
      spring-jdbc/src/main/java/org/springframework/jdbc/core/BeanPropertyRowMapper.java

3
spring-core/spring-core.gradle

@ -85,7 +85,8 @@ jar {
dependsOn cglibRepackJar dependsOn cglibRepackJar
from(zipTree(cglibRepackJar.archivePath)) { from(zipTree(cglibRepackJar.archivePath)) {
include "org/springframework/cglib/**" include "org/springframework/cglib/**"
exclude "org/springframework/cglib/beans/BeanMap*.class" exclude "org/springframework/cglib/beans/BeanMap.class"
exclude "org/springframework/cglib/beans/BeanMap\$*.class"
exclude "org/springframework/cglib/core/AbstractClassGenerator*.class" exclude "org/springframework/cglib/core/AbstractClassGenerator*.class"
exclude "org/springframework/cglib/core/AsmApi*.class" exclude "org/springframework/cglib/core/AsmApi*.class"
exclude "org/springframework/cglib/core/KeyFactory.class" exclude "org/springframework/cglib/core/KeyFactory.class"

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

@ -341,12 +341,6 @@ public class BeanPropertyRowMapper<T> implements RowMapper<T> {
"Unable to map column '" + column + "' to property '" + pd.getName() + "'", ex); "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)) { if (populatedProperties != null && !populatedProperties.equals(this.mappedProperties)) {

Loading…
Cancel
Save