Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.4
-
None
Description
BasicRowProcessor by default makes use of BeanProcessor for mapping result set row columns to bean property names. BeanProcessor uses bean property names, and performs case-insensitive matching of those names to column names.
Currently BasicRowProcessor can be configured with custom BeanProcessor extension to customize the row mapping, but it gets rather ugly.
It would be great if BeanProcessor was configurable with column name to bean property name strategy. Besides current strategy, DbUtils should also bundle strategy implementation configurable with a property name to column name (or other way around) map.