java - BeanPropertyRowMapper vs RowMapper -


i have table more 100 columns. using spring jdbc in our application. there many columns in table, decided use beanpropertyrowmapper fetching records db. avoid writing hardcoded column , property names in code become difficult manage. however, when application went performance test, found there significant performance hit due using beanpropertyrowmapper. decide re-write code rowmapper mapping columns names manually resultset data object properties. improved performance.

my question is, if beanpropertyrowmapper cannot used high number of columns, how helping writing cleaner manageable code. there other way using jdbc can achieve performance manageable code?


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -