lock manager and chunk allocation mutex modificationsw
[csql.git] / test / jdbc / Gateway / GwTest2.java
blob5eeb4060945d70e942eb6641e2a8b435df63108c
1 //Donot start the server .Connect with connectstring "jdbc:gateway" and null for username and password. It should fail
2 import java.sql.*;
3 /**
5 * @author bijaya
6 */
7 public class GwTest2 {
8 public static void main(String[] args)
10 try
12 Class.forName("csql.jdbc.JdbcSqlDriver");
13 Connection con = DriverManager.getConnection("jdbc:gateway", null, null);
14 if (con != null) {con.close(); System.exit(1);}
15 }catch(Exception e) {
16 System.out.println("Exception in Test: "+e.getMessage());
17 e.getStackTrace();
18 System.exit(0);