jeongwon
[Error] java.sql.SQLException: 부적합한 열 유형: 1111 본문
오류 메시지 :
Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{property='code', mode=IN, javaType=class java.lang.Object, jdbcType=null, numericScale=null, resultMapId='null', jdbcTypeName='null', expression='null'}. Cause: org.apache.ibatis.type.TypeException: Error setting null for parameter #1 with JdbcType OTHER . Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property. Cause: java.sql.SQLException: 부적합한 열 유형: 1111
상황:
모든 parameter 값을 확인했지만 같은 오류가 남.
해결:
DAO 단에서 DTO 전달을 제대로 해주지 않았음. 수정.
'Error log' 카테고리의 다른 글
[Error] ORA-02292: integrity constraint (~.SYS_C007946) violated - child record found (0) | 2022.10.28 |
---|---|
[Error] String <-> Date (0) | 2022.10.27 |
[Error] 400 – 잘못된 요청 (0) | 2022.10.24 |
CKEditor 파일 업로드 - 미리보기 (0) | 2022.10.24 |
javax.el.PropertyNotFoundException: [] 특성이 [~.DTO] 유형에 없습니다. (0) | 2022.10.23 |