rest+spring+jdbcTemplate+generic