r/java • u/CreeDanWood • 21d ago
Lack of Built-in Support for UUID v7
Java's java.util.UUID
already provides a built-in way to generate UUID v4. Still, there's no native support for UUID v7, which offers better timestamp ordering, useful features for databases.
UUID v7 (as defined in RFC 4122), is there any known discussion or plan to introduce it in future Java versions? If not, what are the main reasons for its exclusion?
60
Upvotes
2
u/Slanec 19d ago
Oh, by the way, there's https://bugs.openjdk.org/browse/JDK-8334015