Skip to content

Add GeneratedValue strategy to generate ID automaticially #1169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
hantsy opened this issue Feb 17, 2022 · 3 comments
Open

Add GeneratedValue strategy to generate ID automaticially #1169

hantsy opened this issue Feb 17, 2022 · 3 comments
Assignees
Labels
status: pending-design-work Needs design work before any code can be developed type: enhancement A general enhancement

Comments

@hantsy
Copy link

hantsy commented Feb 17, 2022

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

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 17, 2022
@schauder schauder added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 17, 2022
@DiegoKrupitza
Copy link
Contributor

I think that @GeneratedValue depends on issue #1171

@schauder
Copy link
Contributor

schauder commented Sep 8, 2022

@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 schauder added the status: pending-design-work Needs design work before any code can be developed label Sep 8, 2022
@schauder schauder self-assigned this Sep 8, 2022
@cooperlyt
Copy link

is there no any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: pending-design-work Needs design work before any code can be developed type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

5 participants