* testBatchHashCode
*/
public void testBatchHashCode() throws Exception {
final List<SQLStmt> statements = new ArrayList<SQLStmt>();
for (Statement catalog_stmt : catalog_proc.getStatements()) {
statements.add(new SQLStmt(catalog_stmt));
statements.add(new SQLStmt(catalog_stmt));
statements.add(new SQLStmt(catalog_stmt));
} // FOR
int num_stmts = statements.size();
assert(num_stmts > 0);
Random rand = new Random();
for (int x = 0; x < 100; x++) {
Map<Integer, BatchPlanner> batchPlanners = new HashMap<Integer, BatchPlanner>(100);
SQLStmt batches[][] = new SQLStmt[10][];
int hashes[] = new int[batches.length];
for (int i = 0; i < batches.length; i++) {
int batch_size = i + 1;
batches[i] = new SQLStmt[batch_size];
Collections.shuffle(statements, rand);