nathanmoon wrote:
... you would first set all the references to that skill to null in the jobs table. This is where it would be useful to have the inverse side of the association defined in the skill table (i.e. <set><one-to-many>). When deleting a skill, you can retrieve all the jobs referencing that skill and set the ref to null.
So you're saying that Skill should keep a collection of all Jobs that reference it and then, before deleting that Skill, I iterate over its collection of Jobs, setting their Skill references to null and only THEN I would delete Skill?