1 //Test 2000 connections in jdbc:gateway
4 public class ConnTest09
6 public static void main(String
[] args
)
10 Class
.forName("csql.jdbc.JdbcSqlDriver");
11 Connection con
= DriverManager
.getConnection("jdbc:gateway", "root", "manager");
14 for ( i
=1; i
<2000 ; i
++)
16 con
= DriverManager
.getConnection("jdbc:gateway", "root", "manager");
19 if (i
!=2000) System
.exit(1); else System
.exit(0);
21 System
.out
.println("Exception in Test: "+e
);