1 //Donot Start CSQL Server
2 //Open the connection through jdbc:gateway and then call isClosed(). It should return false.
3 //Close the connection jdbc:gateway and then call isClosed(). It should return true
11 public static void main(String
[] args
)
15 Class
.forName("csql.jdbc.JdbcSqlDriver");
16 Connection con
= DriverManager
.getConnection("jdbc:gateway", "root", "manager");
20 System
.out
.println("Test Case Failed");
26 System
.out
.println("Test Case Failed");
29 System
.out
.println("Test Case Passed");
31 System
.out
.println(e
.getMessage());