I agree (if you meant not instead of to). But, you could use this if your variable names and column names are the same (e.g. columnName -> COLUMNNAME also works).
Just write
BeanPropertyRowMapper<Entry> bprm = new BeanPropertyRowMapper<Entry>(Entry.class);
return bprm.mapRow(rs, p);
in MapRow function. BeanPropertyRowMapper is under springframework.jdbc.core.
Is there a similar way for the unmapping, except Java reflection? (I'm thinking about BeanMapper, but it is not that reliable)
I agree (if you meant not instead of to). But, you could use this if your variable names and column names are the same (e.g. columnName -> COLUMNNAME also works).
Just write
in MapRow function. BeanPropertyRowMapper is under springframework.jdbc.core.
Is there a similar way for the unmapping, except Java reflection? (I'm thinking about BeanMapper, but it is not that reliable)