lock manager and chunk allocation mutex modificationsw
[csql.git] / test / jdbc / Gateway / ConnTest01.java
blobb24640010b5c3abb8751c0ab7982067dfb76ec9f
1 //To connect with connectstring "jdbc:gateway" and give correct "user" and "password" in properties object. It should pass.
4 import java.sql.*;
5 public class ConnTest01
6 {
7 public static void main(String[] args)
8 {
9 try
11 Class.forName("csql.jdbc.JdbcSqlDriver");
12 Connection con = DriverManager.getConnection("jdbc:gateway", "root", "manager");
13 if ( con == null ) System.exit(1);
14 con.close();
15 System.exit(0);
16 }catch(Exception e) {
17 System.out.println("Exception in Test: "+e);
18 e.getStackTrace();
19 System.exit(1);