만들어둔 커넥션 유틸로 Select 함수를 만들어보자. public List selectALL() throws Exception { String sql = "select * from tbl_todo"; @Cleanup Connection connection = ConnectionUtil.INSTANCE.getConnecton(); @Cleanup PreparedStatement preparedStatement = connection.prepareStatement(sql); @Cleanup ResultSet resultSet = preparedStatement.executeQuery(); List list = new ArrayList(); while(resultSet.next()){ ..