-
org.apache.ibatis.executor.ExecutorException스프링 2022. 5. 16. 19:54
매퍼 xml 파일에서 쿼리를 작성할때
정보를 가져오는 쿼리의 경우 매퍼 resultType을 명시해줘야하는데
입력이 제대로 되지 않으면 나타나는 오류이다.
<!-- 주문상품 정보 -->
<select id="getGoodsInfo" resultType="com.shop.model.OrderPageItemDTO">
select book_id, book_name, book_price, book_discount
from book_book
where book_id=#{book_id}
</select>'스프링' 카테고리의 다른 글
[스프링] Oracle 연동 기본설정 (1) 2022.09.29 자바스크립트 알림 창이 두 번 뜨는 문제 (0) 2022.05.16 스프링 Error creating bean with name -- (0) 2022.05.10 깃허브 updates were rejected because the remote contains work that you do (0) 2022.05.06 Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException (0) 2022.05.04