Closed pdt256 closed 8 years ago
First implementation: 720984c2c30d35d1a150a5edef6fa433113955db
changes in branch: uuid_migration
Replacing the auto_increment on Order.id in favor of a UUID will cause side-effects with the order # generation.
The SequentialReferenceNumberGenerator will become invalid. It will have to be removed in favor of the HashSegmentReferenceNumberGenerator.
This will also enable us to remove ReferenceNumberEntityInterface:: getReferenceId() since the Sequential generator was the only client.
A Command constructor will likely be the place a UUID is generated. We can also look into UUID generation in the Entity constructor.
What are the pros and cons of using the UUID as the primary key for the Entity tables?