error
nvl(max(no),0) 값을 가져오는 도중 생긴 오류: [SPRING] It’s likely that neither a Result Type nor a Result Map was specified.//
tonirr
2020. 1. 18. 18:34
등록하는 중에 가장 큰 수에서 +1 하여 다음 수를 가져오는 코드를 짜야했다.
mapper파일에
select nvl(max(no),0)+1 from table 을 입력하고 controller와 dao, manager에 추가했는데
[SPRING] It’s likely that neither a Result Type nor a Result Map was specified.
이와같은 오류가 나타났다. resultType이 잘못설명되었다는 말인데 integer값을 받을 수 있게 java.lang.Integer를 입력하지 않았었다. 그런데도 안되길래 이클립스를 재부팅하니 해결되었다.