title: How to tell Hibernate annotation @Column to be case-sensitive?
body: <p>I'm trying to do a simple SELECT query in a table named ECM (<strong>in uppercase</strong>) on a Sybase db with Hibernate. I've annotated my DBO this way :</p>
  
  <pre><code>@Entity
  @Table(name="ECM")
  public class RelationshipDbo {
      ...
  }
  </code></pre>
  
  <p>However, I'm facing a "<em>table not found</em>" error : the generated SQL has the table name in lowercase. I cannot change the database configuration to tell it to be case-insensitive.</p>
  
  <p>I've also tried putting quotes like this :</p>
  
  <pre><code>@Table(name="`ECM`")
  </code></pre>
  
  <p>and this :</p>
  
  <pre><code>@Table(name="'ECM'")
  </code></pre>
  
  <p>Result : the quotes are added in the query, but the table name is still converted from uppercase to lowercase.</p>
  
  <p>Technical information :</p>
  
  <pre><code>Hibernate 4.3
  JPA 1.2
  org.hibernate.dialect.SybaseDialect
  </code></pre>
  
  <p>Have you guys any idea?</p>
  
  <p><strong>EDIT:</strong> Also tried this <a href="https://stackoverflow.com/questions/13489932/hibernate-changes-tablename-to-lowercase">Hibernate changes @Table(name) to lowercase</a></p>
  
  <p>Then my columns names and table name are automatically quoted, but the names still get lowercased.</p>