Support for Composite Key via @Embeded plus @Id [DATAJDBC-352]
See original GitHub issuealpet 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
Issue Analytics
- State:
- Created 4 years ago
- Reactions:80
- Comments:11
Top Results From Across the Web
Support for Composite Key via @Embeded plus @Id ... - GitHub
alpet opened DATAJDBC-352 and commented Enable usage of @Embdedded and @Id together. I see two scenarios here. One would be for read only...
Read more >The Ultimate Guide on Composite IDs in JPA Entities
There are two options to do this: The first approach – is to use the @Embeddable class, which contains all fields representing a...
Read more >Composite Key in SQL: Your Ultimate Guide to Mastery
A composite key in SQL can be defined as a combination of multiple columns, and these columns are used to identify all the...
Read more >Spring Data JPA Composite Key with @EmbeddedId - amitph
Guide to learn Spring Data JPA Composite Key with @EmbeddedId. Learn what is Primary Key and Composite Primary Key, and how Spring Data...
Read more >Composite Primary Keys in JPA - Baeldung
If you're using IntelliJ, JPA Buddy is super helpful. The plugin gently guides you through the subtleties of the most popular JPA ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
hi any updates on this?
Any updates on this? I need this feature to be able refer an aggregate across multiple roots using a pojo class representing the composite key