Aug 16th, 2010, 05:42 AM
Speeding up ParameterizedBeanPropertyRowMapper
Can I use some kind of annotations to speed up the mapping between the field names of the pojo and the database columns? As I understand (please correct me if wrong) that the ParameterizedBeanPropertyRowMapper will check each column name against each instance variable of the pojo every time the result is returned. So instead of iterating, if it is supplied a mapping in terms of annotations (just like JPA) then it would probably be faster.
Thanks in advance
Similarly it could be used for BeanPropertySqlParameterSource (when used with named parameters).
Aug 17th, 2010, 02:04 AM
any spring gurus who can comment? any help here is much appreciated.
Tags for this Thread