MERGE support for HQL/Criteria #5896
beikov
started this conversation in
Design Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Support the SQL standard
MERGE
statement. Essentially it's likeINSERT
with theCONFLICT
clause, but also offers the possibility to doDELETE
s/UPDATE
s. Quite a few DBMS support this. The concurrency guarantees of the statement AFAIU allows such a statement to be implemented by executing the individual parts as separate statements, so emulation should be possible.Also see:
Syntax-wise I would suggest we follow the SQL standard approach which seems sane to me.
Beta Was this translation helpful? Give feedback.
All reactions