Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- ibatis
- 톰캣
- integer
- Database
- JDBC
- wsdl
- START WITH
- 스레드
- 영상편집
- Linux
- 오블완
- http
- 키보드
- API
- equals
- cmd
- 컨트롤러
- MySQL
- 안드로이드 스튜디오
- java
- MariaDB
- letterspacing
- 스레드 덤프
- Tomcat
- 티스토리챌린지
- HTML
- oracle
- 삼성증권
- 프로세스
- Docker
Archives
- Today
- Total
블로그 이름
[ERROR] java.sql.SQLException: Select statements cannot be executed as an update. 본문
개발/오류
[ERROR] java.sql.SQLException: Select statements cannot be executed as an update.
Hide 2024. 12. 24. 22:30IBATIS SQL맵에 INSERT쿼리를 작성하고 실행했는데, 에러 발생
에러 로그는 다음과 같다..
java.sql.SQLException: Select statements cannot be executed as an update.
INSERT나 UPDATE로 실행할건데 SQLMAP에 SELECT로 선언하여 생기는 오류이다.
INSERT로 변경 후 해결되었다.
'개발 > 오류' 카테고리의 다른 글
| [ERROR] Duplicate entry 'AAAA' for key 'PRIMARY' (0) | 2025.01.04 |
|---|---|
| [IBATIS] INSERT 후 반환값 NULL인 현상 (0) | 2024.12.24 |
| [ERROR] Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Truncated incorrect DOUBLE value: 'AAAA' (0) | 2024.12.24 |
| [ERROR] Ibatis select 쿼리 결과가 무조건 []로 반환되는 현상 (0) | 2024.12.13 |
| [ERROR] MySQLSyntaxErrorException: Unknown column 'SYSDATE' in 'field list' (0) | 2024.12.13 |