What does insert(), delete(), select() and update() of the MyBatis SqlSession Interface return?
Question
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?
Solution
select()
doesn't return anything. The others return the number of affected rows.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow