1 //Try to open through jdbc:gateway connection , close , then open through jdbc:csql . it should pass
4 public class ConnTest07
6 public static void main(String
[] args
)
10 Class
.forName("csql.jdbc.JdbcSqlDriver");
11 Connection con
= DriverManager
.getConnection("jdbc:gateway", "root", "manager");
15 con
= DriverManager
.getConnection("jdbc:csql","root","manager");
21 System
.out
.println(e
.getMessage());