JDBCTemplate 사용하기 -좀 더 간단하게 db와 연결할 수 있게 해 준다. db 설정import javax.sql.DataSource;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.jdbc.core.JdbcTemplate;import org.apache.commons.dbcp2.BasicDataSource;public class AppConfig { public DataSource dataSource() { BasicDataSource dataSource = new BasicDat..