rs = stmt.executeQuery("SELECT * FROM selfReferencingT1");
assertTrue("FAIL - row not found", rs.next());
assertEquals("FAIL - wrong value for column1", "e1", rs.getString(1));
// this delete row will cause the delete cascade constraint to delete
// all the rows from the table and from the resultset
rs.deleteRow();
assertFalse("FAIL - row not found", rs.next());
try {
rs.deleteRow();
fail("FAIL - there should have be no more rows in the resultset " +
"at this point because of the delete cascade");