250x250
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Tomcat
- 문서
- Eclipse
- JavaScript
- SpringBoot
- maven
- spring
- oracle
- 설정
- STS
- PostgreSQL
- MSSQL
- Python
- Spring Boot
- Core Java
- Open Source
- Docker
- ubuntu
- Exception
- MySQL
- myBatis
- Thymeleaf
- Source
- 오픈소스
- jpa
- error
- JDBC
- AJAX
- git
- IntelliJ
Archives
- Today
- Total
헤르메스 LIFE
[Exception] com.ibatis.common.jdbc.exception.NestedSQLException 본문
728x90
iBatis를 사용할 때 발생하는 Exception입니다.
뭐~ 워낙 많이 발생하는 Exception이고, 경우의 수도 많습니다.
경우 1.
뭐~ 워낙 많이 발생하는 Exception이고, 경우의 수도 많습니다.
경우 1.
com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred while applying a parameter map.
--- Check the catalog-sql.catalogSrch-InlineParameterMap.
--- Check the statement (query failed).
--- Cause: java.sql.SQLException: ORA-00923: FROM 키워드가 필요한 위치에 없습니다.
해결책 -
쿼리를 생성할 때 Oracle의 일반적인 주석은 '--'를 사용합니다.
하지만 iBatis의 주석은 /**/ 입니다.
'--'를 /**/ 바꾸세요.
728x90