일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- MySQL
- letterspacing
- httpservletreqeust
- http
- 톰캣
- Database
- ibatis
- 안드로이드 스튜디오
- Docker
- java
- 영상편집
- Tomcat
- service name
- API
- 스레드 덤프
- servicename
- 오블완
- 컨트롤러
- 스레드
- HTML
- 키보드
- MariaDB
- 티스토리챌린지
- wsdl
- JDBC
- oracle
- Linux
- cmd
- SID
- 프로세스
- Today
- Total
블로그 이름
[ERROR] MySQLSyntaxErrorException: Unknown column 'SYSDATE' in 'field list' 본문
[ERROR] MySQLSyntaxErrorException: Unknown column 'SYSDATE' in 'field list'
Hide 2024. 12. 13. 19:16Maria DB에서 예외 발생, 아래는 예외 로그다.
ERROR [14:34:46.735] {DefaultQuartzScheduler_Worker-4} (AAAA.java:229) e
com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in com/AAAA/common/control/map/maria/AAAA.xml.
--- The error occurred while applying a parameter map.
--- Check the AAAA-InlineParameterMap.
--- Check the statement (update failed).
--- Cause: cohttp://m.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'SYSDATE' in 'field list'
at c//m.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeUpdate(MappedStatement.java:107)
at cohm.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.insert(SqlMapExecutorDelegate.java:404)
at cm.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.insert(SqlMapSessionImpl.java:82)
at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.insert(SqlMapClientImpl.java:58)
~~~
Caused by: cohttp://m.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'SYSDATE' in 'field list'
oracle에서는 sysdate를 사용하지만
maria에서는 현재 시각을 사용하는 예약어로 NOW()를 사용한다.
NOW()로 변경 후 해결