Duplicatione Notitia

Duplicatione Notitia is a devious devil that possesses many ORMs.

Symptoms

  • When you Update/Insert a table, another table related to the first one is duplicated in the database

Rituals

  1. First you need to detect Duplicatione Notitia by creating a unit test
  2. Say the words: In the name of unit tests, get out
  3. Repeat until you see the tests to fail, i.e. successfully detect Duplicatione Notitia, the devious devil of ORMs
  4. Add a check, if the data already exists, skip re-inserting of the existing data
  5. See the Tests to pass, continuously chanting
  6. Thank for the Lord of Test Automation for saving the system

See also