util/src/main/java/io/github/huherto/springyRecords/DtoRowMapper.java
protected Object getColumnValue(ResultSet rs, int index, Field field) throws SQLException {

        Object value = JdbcUtils.getResultSetValue(rs, index, field.getType());
        if (value != null &&  value instanceof String && autoTrimStrings) {
            return ((String)value).trim();
        }
        return value;
    }
protected Object getColumnValue(ResultSet rs, int index, Field field) throws SQLException {

        Object value = JdbcUtils.getResultSetValue(rs, index, field.getType());
        if (value != null &&  value instanceof String && autoTrimStrings) {
            return ((String)value).trim();
        }
        return value;
    }
protected Object getColumnValue ( ResultSet rs , int index , Field field ) throws SQLException { Object value = JdbcUtils . getResultSetValue ( rs , index , field . getType ( ) ) ; if ( value != null && value instanceof String && autoTrimStrings ) { return ( ( String ) value ) . trim ( ) ; } return value ; }
Retrieve a JDBC object value for the specified column.
<p>The default implementation calls
{@link JdbcUtils#getResultSetValue(java.sql.ResultSet, int, Class)}.
Subclasses may override this to check specific value types upfront,
or to post-process values return from <code>getResultSetValue</code>.
@param rs is the ResultSet holding the data
@param index is the column index
@param pd the bean property that each result object is expected to match
(or <code>null</code> if none specified)
@return the Object value
@throws SQLException in case of extraction failure
@see org.springframework.jdbc.support.JdbcUtils#getResultSetValue(java.sql.ResultSet, int, Class)
Retrieve a JDBC object value for the specified column . <p > The default implementation calls {