I have a system analyst that insist of using oracle sequence instead of UUID because he is not familiar with it.
I have the few question and hope the community can assist me.
1) How is hibernate UUID generated to ensure uniqueness?
I know oracle SYS_GUID() uses
SYS_GUID generates and returns a globally unique identifier (RAW value) made up of 16 bytes. On most platforms, the generated identifier consists of a host identifier, a process or thread identifier of the process or thread invoking the function, and a nonrepeating value (sequence of bytes) for that process or thread
2) In an event the UUID is used, will hibernate auto regenerate a UUID to commit the row?
I know this scenario is rare but if hibernate can do that, but he insist there is a chance that will happen and the transaction will fail.
3) What are benefits of using UUID over oracle sequence generator?