Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Thread:  https://forum.openlmis.org/t/orderable-edit-design/455/16
  • No longer extends base entity due to compound primary key
  • Foreign keys from other tables sometimes needs to also have a version indicator
  • Main lessons: 
    • Our tools really don't like this:  Hibernate and the ORM impedance mismatch
    • Composite keys are difficult, if we were to do this again, try to stay away from composite keys (there were a couple other potential solutions but couldn't get those to work)

Action Items

  •  Josh Zamor to make dev forum post on pain points (and do this again on next TC - timebox but keep it going)