*** empty log message ***
[csql.git] / test / jdbc / Gateway / GwTest3.java
blob5ad628a240d5c3b47d4c3f7403144523e26c4d92
1 //Donot Start Server .Connect only with connectstring "jdbc:"gateway and no username and password. It should fail
2 import java.sql.*;
4 /**
6 * @author bijaya
7 */
8 public class GwTest3 {
9 public static void main(String[] args)
11 try
13 Class.forName("csql.jdbc.JdbcSqlDriver");
14 Connection con = DriverManager.getConnection("jdbc:gateway");
15 if (con != null) System.exit(1);
16 }catch(Exception e) {
17 System.out.println("Exception in Test: "+e.getMessage());
18 e.getStackTrace();
19 System.exit(0);