If you plan to store UUID values in a Primary Key column, then you are better off using a TSID (time-sorted unique identifier).
One such implementation is offered by the Hypersistence TSID OSS library, which provides a 64-bit TSID that’s made of two parts:
a 42-bit time component
a 22-bit random component
The random component has two parts:
a node identifier (0 to 20 bits)
a counter (2 to 22 bits)
The node identifier can be provided by the tsid.node system property when bootstrapping the application:
-Dtsid.node="12"
M. Hill, H. de Waardt, and H. Dorren. Lasers and Electro-Optics, 2001. CLEO '01. Technical Digest. Summaries
of papers presented at the Conference on, page 188--. (2001)