I created a new application and I am thinking where is the best place to generate a UUID.
- Generate a UUID in application level and persist it
- Generate a UUID in Database level
I have a feeling that is a better approach to generate the UUID in Database level.
What do you think and why?
Many thanks in advance