title: H2 table columns doesn't respect case when double-quoted
body: <p>I'm developing a tool which imports data into on-the-fly generated schema. Therefore I have little control over what the table or column names will look like. I recently run into an issue with creating 2 columns in the table which have identical name but different case. The problem could be demonstrated on this simplest DDL operation:</p>
  
  <pre><code>CREATE TABLE "a" (
      "c1" integer,
      "C1" integer
  )
  </code></pre>
  
  <p>This fails for me in the program as well as h2 console with:</p>
  
  <blockquote>
    <p>Duplicate column name "C1"; SQL statement: create table "a" (   "c1"
    integer,   "C1" integer  )</p>
  </blockquote>
  
  <p>This is working fine in PostgreSQL for example and I think it should work as the SQL specification requires case sensitivity when values are double-quoted.</p>
  
  <p>I'm currently using in-memory h2 database.</p>
  
  <p><strong>EDIT:</strong> It runs out the reason was the connection was established with option <code>DATABASE_TO_UPPER=false</code> which caused this behaviour</p>