UpdatingMockConnection(MyMockDriver driver) {
this.driver = driver;
}
@Override
public Statement createStatement() throws SQLException {
return new MockStatement() {
@Override
public int executeUpdate(String sql) throws SQLException {
if (sql.trim().toLowerCase().startsWith("insert")) {
driver.logInsert();
}