Devoxx Paris 2026 gathered the French and European Java community for three days of technical talks at the Palais des Congrès. UUID v7 appeared across the JVM, data, and architecture tracks — driven by Hibernate 7’s native TIME-style UUID generator and growing adoption of uuid-creator in production services. See UUID in Java and Spring Boot for the implementation reference.

Session: UUID v7 in Java — Libraries and Patterns

// Option 1: uuid-creator (most complete, RFC 9562 compliant)
import com.github.f4b6a3.uuid.UuidCreator;

UUID orderId = UuidCreator.getTimeOrderedEpoch();  // UUID v7
System.out.println(orderId); // 018fbe3a-4c5d-7b12-8f3e-1a2b3c4d5e6f

// Option 2: java-uuid-generator (JUG)
import com.fasterxml.uuid.Generators;

UUID id = Generators.timeBasedEpochGenerator().generate(); // UUID v7

// Extract timestamp from UUID v7
long ms = (orderId.getMostSignificantBits() >>> 16) & 0xFFFFFFFFFFFFL;
Instant createdAt = Instant.ofEpochMilli(ms);

The session benchmarked uuid-creator at ~8 million UUID v7 values per second on a single JVM thread, using an internal monotonic counter to prevent same-millisecond collisions per RFC 9562 §6.2.

Session: Hibernate 7 @UuidGenerator

import jakarta.persistence.*;
import org.hibernate.annotations.UuidGenerator;

@Entity
@Table(name = "orders")
public class Order {

    @Id
    @UuidGenerator(style = UuidGenerator.Style.TIME)  // UUID v7
    @Column(columnDefinition = "uuid", updatable = false)
    private UUID id;

    @Column(nullable = false)
    private String customerId;

    @Column(nullable = false)
    private BigDecimal total;

    // getters/setters
}
// Spring Data JPA — just save, UUID v7 is generated before INSERT
@Repository
public interface OrderRepository extends JpaRepository<Order, UUID> {
    List<Order> findByCustomerIdOrderById(String customerId);
}

findByCustomerIdOrderById uses UUID v7’s chronological sort order — no created_at column needed. See UUID in Java.

Session: Quarkus + Panache + UUID v7

import io.quarkus.hibernate.reactive.panache.PanacheEntityBase;
import jakarta.persistence.*;
import org.hibernate.annotations.UuidGenerator;
import java.util.UUID;

@Entity
public class Order extends PanacheEntityBase {

    @Id
    @UuidGenerator(style = UuidGenerator.Style.TIME)
    public UUID id;

    public String customerId;
    public BigDecimal total;

    // Reactive cursor pagination using UUID v7
    public static Uni<List<Order>> findAfter(UUID cursor, int limit) {
        return find("id > ?1 ORDER BY id", cursor)
            .page(0, limit)
            .list();
    }
}

Quarkus reactive (Mutiny + Vert.x) is a natural fit for UUID v7 — the non-blocking insert pattern benefits from the monotonic ordering that reduces B-tree lock contention. See UUID v7 in Microservices.

Session: Kotlin coroutines and UUID v7

import com.github.f4b6a3.uuid.UuidCreator
import kotlinx.coroutines.async
import kotlinx.coroutines.awaitAll
import kotlinx.coroutines.coroutineScope

// UUID v7 is safe to generate concurrently — uuid-creator is thread-safe
suspend fun createOrders(items: List<OrderRequest>): List<UUID> = coroutineScope {
    items.map { item ->
        async {
            val id = UuidCreator.getTimeOrderedEpoch()
            repository.insert(Order(id = id, customerId = item.customerId))
            id
        }
    }.awaitAll()
}

The talk noted that uuid-creator’s monotonic counter is thread-safe, making UUID v7 generation safe from coroutine-parallel code without additional synchronisation. See UUID in Kotlin.

Further reading

External references

Frequently asked questions

What Java UUID v7 generation was covered at Devoxx Paris 2026?

Speakers covered three approaches: the uuid-creator library for production use, the java-uuid-generator (JUG) library, and Hibernate 7's built-in @UuidGenerator(style = TIME) annotation which generates UUID v7 automatically for JPA entities. Java's standard library still lacks UUID.v7() — a JEP proposal is in progress.

How does Hibernate 7 generate UUID v7 automatically?

Hibernate 7 added @UuidGenerator(style = UuidGenerator.Style.TIME) which generates a time-based UUID (UUID v7 format) for entity primary keys. Annotate the id field and Hibernate handles generation before the INSERT. No external library required for JPA entities on Hibernate 7+. See UUID in Java and Spring Boot.