runTests(runs);
}
static void runTests(int runs) throws Exception {
jdbcDataSource dataSource = new jdbcDataSource();
dataSource.setDatabase(url);
conn = dataSource.getConnection("SA", "");
stmnt = conn.createStatement();
println("");
println("***************************************");
println("featuring cached (persistent) table");
println("***************************************");
// drop and recreate the test table
println(drop_table_sql);
stmnt.execute(drop_table_sql);
println(create_cached + table_sql);
stmnt.execute(create_cached + table_sql);
preparedTestOne(runs);
// drop the test table and shut down database
println(drop_table_sql);
stmnt.execute(drop_table_sql);
println("---------------------------------------");
println("shutting down database");
stmnt.execute(shutdown_sql);
println("---------------------------------------");
// get the connection and statement
conn = dataSource.getConnection("SA", "");
stmnt = conn.createStatement();
println("");
println("***************************************");
println("featuring memory (persistent) table");
println("***************************************");
// drop and recreate the test table
println(drop_table_sql);
stmnt.execute(drop_table_sql);
println(create_memory + table_sql);
stmnt.execute(create_memory + table_sql);
preparedTestOne(runs);
// drop the test table and shut down database
println(drop_table_sql);
stmnt.execute(drop_table_sql);
println("---------------------------------------");
println("shutting down database");
stmnt.execute(shutdown_sql);
println("---------------------------------------");
// get the connection and statement
conn = dataSource.getConnection("SA", "");
stmnt = conn.createStatement();
println("");
println("***************************************");
println("featuring temp (transient) table");