Home
About
Contact
Header Ads Widget
Responsive Advertisement
Home-icon
생활 / TIP
_생활 정보
_IT 정보
쇼핑
_unbox
_review
프로그래밍
_파이썬(Python)
_WEB
_자작 프로그램
_기타
DIY
KID
홈
programming
[ibatis] delete, update, insert return value 리턴 값 (iBatis return values)
[ibatis] delete, update, insert return value 리턴 값 (iBatis return values)
노란달퐁
8월 20, 2018
____________________________________________________________
# insert : 성공 시 null 반환, 실패하면 에러 발생
# update : 성공 시 1, 실패 시 0 반환
# delete : 삭제한 row수를 반환
____________________________________________________________
# insert :
-> success : null
-> fail : error
# update :
-> success : 1
-> fail : 0
# delete :
-> success : delete row count
-> fail : error
댓글 쓰기
0 댓글
이 블로그 검색
Subscribe Us
Ad Space
Responsive Advertisement
0 댓글