1 //Donot Start CSQL Server
2 //connect through the jdbc:gateway URL create Statement and call execute to create a table. it should fail
9 public static void main(String
[] args
)
13 Class
.forName("csql.jdbc.JdbcSqlDriver");
14 Connection con
= DriverManager
.getConnection("jdbc:gateway", "root", "manager");
15 Statement cStmt
= con
.createStatement();
17 cStmt
.execute("CREATE TABLE t2 (f1 integer, f2 char (20));");
22 System
.out
.println("Exception in Test: "+e
);
24 System
.out
.println("Test Case Passed");