Framework
[Spring + Mybatis] java.sql.SQLException: 부적합한 열 유형: 1111
비니미니파파
2020. 4. 10. 11:46
[Spring + Mybatis] 연동 시 나타나는 java.sql.SQLException: 부적합한 열 유형: 1111
Error setting null for parameter #8 with JdbcType OTHER . Try setting a different JdbcType for this parameter or a different jdbcTypeForNull configuration property. Cause: java.sql.SQLException: 부적합한 열 유형: 1111
#{NAME} 을
#{NAME, jdbcType=VARCHAR} 로 수정 하면 된다.
jdbcType 은 컬럼 Type 을 맞춰주자!
끝!