public void testUpdate3() throws SQLException {
  DatabaseCreator.fillFKStrictTable(conn);
  statement.execute("DELETE FROM " + DatabaseCreator.FKSTRICT_TABLE + " WHERE name_id = 1;");
  statement.execute("UPDATE " + DatabaseCreator.PARENT_TABLE + " SET id = 5 WHERE id = 1;");
}

public void testUpdate3 ( ) throws SQLException { DatabaseCreator . fillFKStrictTable ( conn ) ; statement . execute ( "DELETE FROM " + DatabaseCreator . FKSTRICT_TABLE + " WHERE name_id = 1;" ) ; statement . execute ( "UPDATE " + DatabaseCreator . PARENT_TABLE + " SET id = 5 WHERE id = 1;" ) ; }
updatefunctionalitytest2 # testupdate3 ( ) . deletes all referencing rows and then updates referenced one
