java.sql.SQLException: 부적합한 열 유형: 1111
Mybatis와 Oracle 연동하는데 insert를 하는 과정에서 에러가 났다.
부적합한 열 유형: 1111; nested exception is java.sql.SQLException: 부적합한 열 유형
테이블 컬럼에 null 이 들어가도 되는 경우 널이 넘어오는 경우를 생각해서
MyBatis 에서 column type 지정해 줘야 하는 문제라고 한다.
이런식으로 하면 된다길래
'Develop > Spring' 카테고리의 다른 글
Apache Tomcat 다운로드 및 STS와 Tomcat 연동 (2) | 2016.11.13 |
---|---|
Spring Tool Suite (STS) 다운로드 (0) | 2016.11.13 |
spring 3 버전에서 mvc interceptors 사용 (0) | 2016.11.10 |
HTTP Status 500 - Servlet.init() for servlet action threw exception (0) | 2016.11.09 |
에러 : Missing artifact com.oracle:ojdbc14:jar:10.2.0.4.0 #2 (4) | 2016.11.09 |