Skip to content

Commit 699947c

Browse files
committed
Merge branch '6.0.x'
2 parents 9cab6c9 + e12eb94 commit 699947c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,11 @@ protected void initBeanWrapper(BeanWrapper bw) {
393393

394394
/**
395395
* Retrieve a JDBC object value for the specified column.
396-
* <p>The default implementation delegates to
397-
* {@link #getColumnValue(ResultSet, int, Class)}.
396+
* <p>The default implementation calls
397+
* {@link JdbcUtils#getResultSetValue(java.sql.ResultSet, int, Class)}
398+
* using the type of the specified {@link PropertyDescriptor}
399+
* Subclasses may override this to check specific value types upfront,
400+
* or to post-process values return from {@code getResultSetValue}.
398401
* @param rs is the ResultSet holding the data
399402
* @param index is the column index
400403
* @param pd the bean property that each result object is expected to match

0 commit comments

Comments
 (0)