1 //Open connection and call setTransactionIsolation (TRANSACTION_SERIALIZABLE ). It should throw unsupported SQL exception.
6 public static void main(String
[] args
)
10 Class
.forName("csql.jdbc.JdbcSqlDriver");
11 Connection con
= DriverManager
.getConnection("jdbc:csql", "root", "manager");
13 System
.out
.println("test failed!");
14 con
.setTransactionIsolation(Connection
.TRANSACTION_SERIALIZABLE
);
17 System
.out
.println("test failed2!");
19 System
.out
.println(e
.getMessage());