eGovFrame 표준프레임워크 포털

메뉴 건너띄기
상단메뉴 바로가기
본문 바로가기

이 누리집은 대한민국 공식 전자정부 누리집입니다.

본문 영역

적용 지원, FAQ, Q&A 게시판을 통해 기술 문제 해결을 지원합니다.

묻고 답하기

Invalid column type
  • 작성자

    곽*형

  • 작성일

    2013-10-07 11:19:39

  • 조회수

    3,897

  • 구분

    실행환경

  • 진행상태

    완료

질문

전자정부표준프레임워크 2.01
Oracle 11g환경입니다.

오류메시지는
2013-10-07 10:31:14,068 DEBUG [org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerExceptionResolver] Resolving exception from handler [kr.co.topasweb.web.inf.web.InfEmployMngController@18d5a75e]: org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [17004];
--- The error occurred in framework/sqlmap/oracle/sqlmap-infemploymng.xml.
--- The error occurred while applying a parameter map.
--- Check the infEmployMng.createEmployInfoDetail-InlineParameterMap.
--- Check the parameter mapping for the 'DjobDivEtc' property.
--- Cause: java.sql.SQLException: Invalid column type; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in framework/sqlmap/oracle/sqlmap-infemploymng.xml.
--- The error occurred while applying a parameter map.
--- Check the infEmployMng.createEmployInfoDetail-InlineParameterMap.
--- Check the parameter mapping for the 'DjobDivEtc' property.
--- Cause: java.sql.SQLException: Invalid column type
2013-10-07 10:31:14,072 DEBUG [org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerExceptionResolver] Invoking request handler method: public void kr.co.topasweb.web.inf.web.InfEmployMngController.handleException(java.lang.Exception,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.lang.Throwable
2013-10-07 10:31:14,072 DEBUG [kr.co.topasweb.web.inf.web.InfEmployMngController] handleException method [msg] SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [null]; error code [17004];

위와같이 발생합니다.
혹시 설정해야 하는 부분에 대해 문의 드립니다.
감사합니다.

답변

안녕하세요. 표준프레임워크 센터입니다.

해당오류는 파라미터 값이 null 일 경우 발생하는 오류입니다.
오류 로그를 보면 DjobDivEtc가 null인 경우입니다.

이 경우 #DjobDivEtc:VARCHAR:NO_ENTRY#와 같이 지정하셔서
파라미터 값이 null일 경우 setNull이 처리될 수 있도록 지정하시면 됩니다.

감사합니다.

이 페이지의 구성

묻고 답하기