Possible to add MERGE support?
stevenwaterman opened this issue · comments
Steven Waterman commented
It seems pretty simple to add H2's merge function to OrmWriter, but it's a right pain to add it externally.
Is there a reason why it's absent at the minute?
Brett Wooldridge commented
So far we have avoided and post SQL99 constructs because of limited support by various databases. Merge/upsert support would require dialect specific extensions. For example, PostgreSQL uses an entirely different syntax.
Brett Wooldridge commented
Pull requests are welcome but should be as comprehensive as possible. For example, detecting database version and behaving accordingly, or throwing a NotImplementedException.