1 //Donot start the server .Connect with connectstring "jdbc:gateway" and null for username and password. It should fail
8 public static void main(String
[] args
)
12 Class
.forName("csql.jdbc.JdbcSqlDriver");
13 Connection con
= DriverManager
.getConnection("jdbc:gateway", null, null);
14 if (con
!= null) {con
.close(); System
.exit(1);}
16 System
.out
.println("Exception in Test: "+e
.getMessage());