Skip to content
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

Support for Composite Key via @Embeded plus @Id [DATAJDBC-352] #574

Open
spring-projects-issues opened this issue Apr 4, 2019 · 3 comments
Open

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Apr 4, 2019

alpet opened DATAJDBC-352 and commented

Enable usage of @Embdedded and @Id together. I see two scenarios here. One would be for read only repositories and the other for the CRUD repository. With respect of the legacy applications very often read only is enough. How would Embedded participate in a query ? 

 

One reason to use a lower level persistence framework in my opinion are legacy applications who very often have Composite Keys. Emabling such feature in spring data jdbc would increase the possible users of the framework


13 votes, 14 watchers

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented May 11, 2020

Lovro Pandžić commented

Hello, Jens Schauder, any idea when this might get fixed? Composite keys seem to be a pretty fundamental feature for any persistence layer library. Since there are no workarounds (I don't consider adding a new unique key to a production table because of library limitations a viable workaround), users that do use composite keys can't use Spring Data JDBC

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented May 11, 2020

Jens Schauder commented

This is a feature we want to have. Unfortunately we currently can't see far enough in the future to tell when it will happen.

@imbananko
Copy link

@imbananko imbananko commented Jan 2, 2021

hi
any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.