From: Trawick, C. <Jam...@Ni...> - 2004-02-20 22:06:37
|
I've never posted a patch here before, so let me know if I messed up anywhere. This patch adds mock batch functionality to CommonMockPreparedStatement. I made the following updates: Added a setExpectedAddBatchCalls(int) method to track calls to addBatch(). Added an addBatchCounts(int[]) method to add return values for executeBatch(). Implemented executeBatch(). Implemented addBatch(). chris |