SQL/iBatis, MyBatis
[mybatis/ibatis] 쿼리문 리턴 결과 차이
도미노&
2017. 5. 18. 00:29
Mybatis Query 성공시
Select - Select문에 해당하는결과
Insert - 1 (여러개일경우도 1)
Update - Update된 행의 개수 반환 (없다면 0)
delete - Delete된 행의개수 (없다면 0)
Ibatis 성공시
select - Select문에 해당 결과
insert - null
update - 1
delete - delete된 행의개수
출처: http://ekfqkqhd.tistory.com/entry/Mybatis와-IBatis-리턴결과-차이 [시우아빠님의 블로그]