commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27993] New: - modify BasicRowProcessor to use the column label
Date Fri, 26 Mar 2004 20:44:51 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27993>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27993

modify BasicRowProcessor to use the column label

           Summary: modify BasicRowProcessor to use the column label
           Product: Commons
           Version: 1.1 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: DbUtils
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: gene.garcia@turner.com


BasicRowProcessor.mapColumnsToProperties currently uses 'getColumnName' to 
determine what property to set on the bean. It would be more flexible if it 
used 'getColumnLabel'. This would allow the developer to specify the property 
name as an alias to a column in the sql query.
For example 'select last_name lastname, first_name firstname from employee'. 
Note that 'getColumnLabel' will defaults to the column name if no alias is 
specified in the query.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message