[
https://issues.apache.org/jira/browse/DBUTILS-24?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12764684#action_12764684
]
gene commented on DBUTILS-24:
-----------------------------
I am out for the week - returning on Monday 10/12. Please contact Byron
Saltysiak with any questions.
Thanks.
-Gene
> [dbutils] Modify BasicRowProcessor to use the column label
> ----------------------------------------------------------
>
> Key: DBUTILS-24
> URL: https://issues.apache.org/jira/browse/DBUTILS-24
> Project: Commons DbUtils
> Issue Type: Improvement
> Environment: Operating System: other
> Platform: Other
> Reporter: gene
> Priority: Minor
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.