When you use update of SqlClient, you may want to know result value, updated count.
But, contrary to your expectation, the is no return value. Because SqlClient use internally SqlExecutor class(com.ibatis.sqlmap.engine.execution.SqlExecutor), a executeUpdate method of the SqlExecutor return update count of prepareSatement by calling ps.getUpdateCount(), but the that executeUpdate method alway return 0.

To  current(ibatis 2.3.4), if you use the update in ibatis used internally in used merge into statment, there is no measures to confirm the return value.
Posted by '김용환'

댓글을 달아 주세요