title: H2 Database - on primary key conflict replace
body: <p>I would like to make the H2 Database engine replace the conflicting entriy if a entry is being inserted and it conflicts with another record having the same PRIMARY KEY or UNIQUE value.</p>
  
  <p>I can do the same in SQLite with the following:</p>
  
  <pre class="lang-sql prettyprint-override"><code>CREATE TABLE STACKOVERFLOW(FOO TEXT IDENTITY ON CONFLICT REPLACE);
  </code></pre>
  
  <p>This is called a <a href="https://sqlite.org/lang_conflict.html" rel="nofollow">conflict clause</a> in SQLite.</p>
  
  <p>Can I replicate this behaviour in the H2 SQL dialect?</p>