[자바JDBC프로그래밍] 06~ 07, 25강
📌 JDBC 코드 : 레코드의 모든 컬럼 출력하기 while(rs.next()) { int id = rs.getInt("ID"); String title = rs.getString("TITLE"); String writerld = rs.getString("WRITER_ID"); Date regDate = rs.getDate("REGDATE"); String content = rs.getString("CONTENT"); int hit = rs.getInt("hit"); System.out.printf("id:%d, title:%s, writerid:%s, regDate:%s, content:%s, hit:%d\n ", id, title,writer, regDate,content, hit); } // 여기서..