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

Implement 'INSERT or UPDATE' / 'upsert' functionality [DATAJDBC-269] #493

Open
spring-projects-issues opened this issue Sep 27, 2018 · 1 comment
Assignees
Labels
in: repository type: enhancement

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Sep 27, 2018

Rafal Glowinski opened DATAJDBC-269 and commented

Many relational databases provide means to perform an upsert (insert or update) operation with just one DB request. There is no such feature in JPA standard and maybe Spring Data JDBC could be better in that area - just like JOOQ is.

Also, the one and only Vlad Mihalcea has posted a nice summary of upsert operations performed by JOOQ. 


Issue Links:

  • DATAJDBC-210 Improve strategy for persisting referenced entities

9 votes, 9 watchers

@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Oct 30, 2018

Jens Schauder commented

The fix for DATAJDBC-210 might implement something similar for referenced entities or use code from this issue

@spring-projects-issues spring-projects-issues added in: repository type: enhancement labels Dec 31, 2020
mp911de pushed a commit that referenced this issue Feb 21, 2022
mp911de added a commit that referenced this issue Feb 21, 2022
Use Java 8 syntax for Map creation. Add author tags. Use simpler table names.

Original pull request: #493.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: repository type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants