1 //Close the connection and they call commit(). It should fail.
4 public class ConnTest17
6 public static void main(String
[] args
)
10 Class
.forName("csql.jdbc.JdbcSqlDriver");
11 Connection con
= DriverManager
.getConnection("jdbc:csql", "root", "manager");
18 System
.out
.println(e
.getMessage());
20 if (e
.getMessage().equals("Invalid state")) System
.exit(0);