sqlMap.startBatch();
//…execute statements in between
sqlMap.executeBatch();
比如我在这个批量之间,执行了10条,怎么能在最后知道我成功了几条呢。求教。
...全文
6173打赏收藏
请教ibatis批量更新操作返回成功条数的问题
如题,哪位大哥知道ibatis批量更新操作后,能返回成功或者失败条数? ibatis批量更新不是一般这样用么, sqlMap.startBatch(); //…execute statements in between sqlMap.executeBatch(); 比如我在这个批量之间,执行了10条,怎么能在最后知道我成功了几条呢。求教。