Versions Compared

Key

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

...

...

From a discussion between Jacopo and Hans on dev ML

Anchor
primaryKeysAreVAR_CHARType
primaryKeysAreVAR_CHARType

Why primary keys are VAR_CHAR type in OFBiz

  1. The performance overhead is minimal on modern database systems.
  2. Character strings give significant flexibility, especially when it is common to migrate data from other systems that have characters in their IDs.
  3. Being able to prefix IDs is used in a number of places in OFBiz, including prefixes for entire systems when data transfers between them are done to separate ID spaces.