1 24 25 package org.objectweb.cjdbc.scenario.raidb1.request; 26 27 import java.sql.Connection ; 28 29 import org.objectweb.cjdbc.scenario.templates.Raidb1Template; 30 31 37 public class AlterRequestScenario extends Raidb1Template 38 { 39 44 public void testAlterRequestDrop() throws Exception 45 { 46 Connection con = getCJDBCConnection(); 47 con.createStatement().executeUpdate("alter table DOCUMENT drop column ADDRESSID"); 48 } 49 50 55 public void testAlterRequestAdd() throws Exception 56 { 57 Connection con = getCJDBCConnection(); 58 con.createStatement().executeUpdate("alter table DOCUMENT add column addressid2 VARCHAR(255)"); 59 } 60 } 61 | Popular Tags |