autoinc and tree index predicate fix
[csql.git] / test / sqlnetwork / Jdbcnetwork / ConnTest5.java
blob1a3fbec4e9cf72935e5410ff051f261e6d1cc99c
1 //Connect with connectstring "odbc:csql://localhost:5678/csql" and give correct "user" and "password" in properties object. It should fail.
2 import java.sql.*;
3 public class ConnTest5
5 public static void main(String[] args)
7 try
9 Class.forName("csql.jdbc.JdbcSqlDriver");
10 Connection con = DriverManager.getConnection("odbc:csql://localhost:5678/csql", "root", "manager");
11 if (con != null) System.exit(1);
12 }catch(Exception e) {
13 System.out.println("Exception in Test: "+e.getMessage());
14 e.getStackTrace();
15 System.exit (0);