일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- 이클립스
- 오류
- 코딩
- icon
- JavaScript
- error
- Eclipse
- github
- 스파르타코딩클럽
- firestore
- 기업설명회
- 오블완
- SQL
- chart.js
- 깃허브
- HTML
- spring
- AJAX
- 티스토리챌린지
- restapi
- bootstrap
- SQLD
- jQuery
- 자바
- myBatis
- 웹개발
- java
- vscode
- Firebase
- CSS
- Today
- Total
목록Eclipse (4)
푸들푸들
2024/10/23p1댓글 삭제BoardCommentDao.javapublic class BoardCommentDao { public int deleteComment(Connection conn, int commentNo,int articleNo) throws Exception { int row=0; String sql = "delete from board_comment where comment_no=? and article_no=?"; PreparedStatement stmt = conn.prepareStatement(sql); stmt.setInt(1, commentNo); stmt.setInt(2, articleNo); row = stmt.executeUpdate(); return ro..
2024/10/23p1댓글 입력 BoardCommentDao.javapublic int insertComment(Connection conn, BoardComment bc) throws Exception { int row=0; String sql = """ insert into board_comment( article_no articleNo , member_id memberId , comment , createdate ) values (?,?,?,now()) """; PreparedStatement stmt = conn.pr..
2024/10/23P1글 입력이 되지않고 빈 화면이 나옴java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'vlaues (7,'board','0dcb492f1544495d84dafeb466551c80','sql',now())' at line 3콘솔창 확인public int insertFile(Connection conn, BoardFile bf) throws Exception { int row = 0; String sql = """ insert i..
사소한 오류심각한 오류기록