class1 [Spring] JDBC 설정 [Spring] JDBC 설정 DataSource 설정 JdbcTemplate 생성 JdbcTemplate 를 사용한다. JdbcTemplate template; UserRowMapper 클래스 생성RowMapper 를 구현한다. class UserRowMapper implements RowMapper{ @Override public UserVO mapRow(ResultSet arg0, int arg1) throws SQLException { // TODO Auto-generated method stub return null; } } 컬럼데이터를 바이딩해 준다. class UserRowMapper implements RowMapper { @Override public UserVO mapRow(Result.. 2016. 4. 24. 이전 1 다음