conn.isValid(5);
} catch (SQLException e) {
assertSQLState("08003", e);
}
if (usingEmbedded())
assertTrue(aes12.didConnectionClosedEventHappen());
else
assertFalse(aes12.didConnectionClosedEventHappen());
//As per the JDBC definition, an exception and hence an event is raised
//for isValid only if the param value is illegal
assertFalse(aes12.didConnectionErrorEventHappen());