MERGE support for HQL/Criteria #5896
beikov
started this conversation in
Design Proposals
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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