adding test scripts
[csql.git] / test / jdbc / Statement / StmtTest4.java
blobd7beebee71578bf99f9d5a3f00987f16d21b1d99
1 //close() and then again call close(). it should no error
2 import java.sql.*;
3 public class StmtTest4
5 public static void main(String[] args)
7 try
9 Class.forName("csql.jdbc.JdbcSqlDriver");
10 Connection con = DriverManager.getConnection("jdbc:csql", "root", "manager");
11 con.close();
12 con.close();
13 }catch(Exception e) {
14 System.out.println("Exception in Test: "+e);
15 e.printStackTrace();
16 System.exit(1);