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.
'general java' 카테고리의 다른 글
| Spring에서 namespace를 주기 (0) | 2009.07.22 |
|---|---|
| DBCP] Without given validationQuery, no test. (0) | 2009.04.28 |
| using merge statement in ibatis. (to 2.3.4) (0) | 2009.04.25 |
| Deadlock using commons-pool 1.4 and commons-dbcp 1.2.2 (0) | 2009.04.24 |
| No SqlHandler log4j:ERROR problem (0) | 2009.04.21 |
| JavaFx Programming Reference (0) | 2009.04.17 |



댓글을 달아 주세요