migrated from SimpleJdbcTemplate to JdbcTemplate