Tech Tip: Entity IDs and UUIDs differences in single user and client-server
PRODUCT: 4D Server | VERSION: 19 | PLATFORM: Mac & Win
Published On: May 15, 2023
When using ORDA to create entities, there is a difference between when the ID/UUIDs are created. For single user mode, the ID/UUIDs are created immediately upon calling dataClass.new() while client-server has it created upon saving an entity. Here is the example below:
Single User:
Client-Server:
Take note of this difference when any code is related with the ID/UUIDs.