1 24 25 package org.objectweb.cjdbc.scenario.raidb0; 26 27 import java.sql.Connection ; 28 29 import org.objectweb.cjdbc.scenario.templates.SimpleRaidb0WithLargeDatabaseTemplate; 30 import org.objectweb.cjdbc.scenario.tools.ScenarioUtility; 31 32 38 public class Raidb0WithLargeDatabaseScenario 39 extends SimpleRaidb0WithLargeDatabaseTemplate 40 { 41 46 public void testForBug() throws Exception 47 { 48 cm.loadVirtualDatabases(controller, "myDB", 50 "hsqldb-raidb0-randomwaitpool.xml"); 51 mainVdb = controller.getVirtualDatabase("myDB"); 52 mainVdb.enableAllBackends(); 53 54 Connection con = getCJDBCConnection(); 55 ScenarioUtility.displaySingleQueryResult("Select * from blob34", con, true); 56 ScenarioUtility 57 .displaySingleQueryResult("Select * from blob34", con, false); 58 ScenarioUtility.displaySingleQueryResult("Select * from blob3600", con, 59 true); 60 ScenarioUtility.displaySingleQueryResult("Select * from blob3600", con, 61 false); 62 } 63 } | Popular Tags |