1 24 25 package org.objectweb.cjdbc.scenario.raidb1.recoverylog; 26 27 import java.sql.Connection ; 28 29 import org.objectweb.cjdbc.scenario.templates.ExtendedRaidb1RecoveryTemplate; 30 import org.objectweb.cjdbc.scenario.tools.ScenarioUtility; 31 import org.objectweb.cjdbc.scenario.tools.testlet.ColumnUpdateTestLet; 32 33 39 public class QuotingInRecoveryLogScenario extends 40 ExtendedRaidb1RecoveryTemplate 41 { 42 47 public void testInsertsWithJDBCRecoveryLog() throws Exception 48 { 49 Connection con = getCJDBCConnection("25322", "MainVdb"); 50 ColumnUpdateTestLet let = new ColumnUpdateTestLet(con); 51 let.execute(); 52 Connection con2 = getCJDBCConnection("25322", "Recovery"); 53 ScenarioUtility.displayResultOnScreen(ScenarioUtility.getSingleQueryResult( 54 "Select * from RECOVERY", con2)); 55 } 56 } | Popular Tags |