1 24 25 package org.objectweb.cjdbc.scenario.raidb1.driver; 26 27 import java.sql.Connection ; 28 29 import org.objectweb.cjdbc.scenario.templates.Raidb1Template; 30 import org.objectweb.cjdbc.scenario.tools.testlet.AbstractTestLet; 31 import org.objectweb.cjdbc.scenario.tools.testlet.ProcedureTestLet; 32 33 39 public class StoredProcedureScenario extends Raidb1Template 40 { 41 46 public void testStoredProcedureOnHypersonic() throws Exception 47 { 48 Connection con = getCJDBCConnection(); 49 con.setCatalog("myDB"); 50 ProcedureTestLet let = new ProcedureTestLet(con); 51 let.executeBatch(AbstractTestLet.USE_PREPARED_STATEMENT, 52 new Boolean []{Boolean.FALSE}); 53 } 54 } | Popular Tags |