What does insert(), delete(), select() and update() of the MyBatis SqlSession Interface return?

StackOverflow https://stackoverflow.com/questions/5898504

  •  29-10-2019
  •  | 
  •  

문제

From the API Doc of mybatis i can just see, that insert, delete, select and update has an int as the returntype. But there is no documentation about what the meaning of the returned integers is.

Does this has something to do with Success of the operation?

도움이 되었습니까?

해결책

select() doesn't return anything. The others return the number of affected rows.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top