* Test41 - Rolling back to a savepoint will release all the savepoints
* created after that savepoint.
*/
public void xtestRollbackWillReleaseLaterSavepoints() throws SQLException {
Connection con = getConnection();
Savepoint savepoint1 = con.setSavepoint();
Statement s = createStatement();
s.executeUpdate("INSERT INTO T1 VALUES(1,1)");
Savepoint savepoint2 = con.setSavepoint("s1");
s.executeUpdate("INSERT INTO T1 VALUES(2,1)");
Savepoint savepoint3 = con.setSavepoint("s2");
s.executeUpdate("INSERT INTO T1 VALUES(3,1)");
// Rollback to first named savepoint s1. This will internally release
// the second named savepoint s2.
con.rollback(savepoint2);