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

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

Open spring-projects-issues opened this issue 7 years ago • 1 comments
trafficstars

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 avatar Sep 27 '18 06:09 spring-projects-issues

Jens Schauder commented

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

spring-projects-issues avatar Oct 30 '18 13:10 spring-projects-issues