While deleteAll calls delete method iteratively, deleteAllInBatchmethod calls executeUpdate.
So, if there are 100 entities to be removed, deleteAll()will triggers 100 SQL queries while deleteAllInBatch() will trigger just one. This is a very important distinction, performance wise.