Spring Boot pt. 32: UUIDs/GUIDs Universally Unique Identifiers

6 months ago
4

In today's episode we implement UUIDs (aka GUIDs, Globally Unique Identifiers)

SQL QUERIES:
CREATE TABLE orders (
id BINARY(16) PRIMARY KEY,
total DOUBLE NOT NULL
);

SELECT BIN_TO_UUID(id) AS id, total FROM orders;

LinkTree:
https://linktr.ee/peachezprogramming

Loading comments...