-
Aug 16th, 2010, 05:42 AM
#1
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.
Thoughts/Comments?
Thanks in advance
p.s.
Similarly it could be used for BeanPropertySqlParameterSource (when used with named parameters).
-
Aug 17th, 2010, 02:04 AM
#2
any spring gurus who can comment? any help here is much appreciated.
thanks!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules