Skip to content

Commit e12eb94

Browse files
committed
Fix description of default behavior in BeanPropertyRowMapper
Closes gh-29285
1 parent 23162bb commit e12eb94

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
@@ -406,8 +406,11 @@ protected void initBeanWrapper(BeanWrapper bw) {
406406

407407
/**
408408
* Retrieve a JDBC object value for the specified column.
409-
* <p>The default implementation delegates to
410-
* {@link #getColumnValue(ResultSet, int, Class)}.
409+
* <p>The default implementation calls
410+
* {@link JdbcUtils#getResultSetValue(java.sql.ResultSet, int, Class)}
411+
* using the type of the specified {@link PropertyDescriptor}
412+
* Subclasses may override this to check specific value types upfront,
413+
* or to post-process values return from {@code getResultSetValue}.
411414
* @param rs is the ResultSet holding the data
412415
* @param index is the column index
413416
* @param pd the bean property that each result object is expected to match

0 commit comments

Comments
 (0)