spring-data-relational icon indicating copy to clipboard operation
spring-data-relational copied to clipboard

Add GeneratedValue strategy to generate ID automaticially

Open hantsy opened this issue 3 years ago • 5 comments

Like the JPA and Micronaut Data Jdbc/R2dbc, add JPA @GeneratedValue(strategy) similar feature to generate ID automatically before inserting.

hantsy avatar Feb 17 '22 13:02 hantsy

I think that @GeneratedValue depends on issue #1171

DiegoKrupitza avatar Feb 18 '22 18:02 DiegoKrupitza

@DiegoKrupitza I'm not sure how these would depend on each other. Of course, there might be generators that depend on some database infrastructure, but many won't and either way one can still require the user to ensure that infrastructure is there.

schauder avatar Sep 08 '22 12:09 schauder

is there no any update?

cooperlyt avatar Feb 14 '23 02:02 cooperlyt