protected void doExecuteBatch(PreparedStatement ps) throws SQLException, HibernateException {
   System.out.println("executing batch [" + batchSQL + "]");
   System.out.println("--------------------------------------------------------");
   batchSQL = null;
   super.doExecuteBatch(ps);
 }
 public void addToBatch(Expectation expectation) throws SQLException, HibernateException {
   Counter counter = (Counter) batchSizes.get(currentBatch);
   counter.count++;
   System.out.println("Adding to batch [" + batchSQL + "]");
   super.addToBatch(expectation);
 }