Notice
Recent Posts
Recent Comments
Link
«   2025/08   »
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 more
Archives
Today
Total
관리 메뉴

jeongwon

[Error] java.sql.SQLException: 부적합한 열 유형: 1111 본문

Error log

[Error] java.sql.SQLException: 부적합한 열 유형: 1111

jeongwon_ 2022. 10. 26. 20:58

오류 메시지 :

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 전달을 제대로 해주지 않았음. 수정.