debuglevel / greeting-microservice

Micronaut microservice template written in Kotlin
The Unlicense
5 stars 2 forks source link

Example for UUID @Id #16

Closed debuglevel closed 3 years ago

debuglevel commented 3 years ago

See also https://github.com/micronaut-projects/micronaut-data/issues/1210

    @Id
    @GeneratedValue(generator = "uuid2")
    @GenericGenerator(name = "uuid2", strategy = "uuid2")
    @Column(columnDefinition = "BINARY(16)")
    var id: UUID?,