title: Hibernate naming strategy changing table names
body: <p>I'm a little bit confused by hibernates (version 5.1) naming strategy - namely it changes my table name and I'd like to avoid that. Also - <code>spring.jpa.hibernate.naming_strategy</code> seems to be deprecated according to intelij, but I can't find a (nother) way of configuring it correctly.</p>
  
  <p>I have the following configuration in application.properties:</p>
  
  <pre><code>spring.jpa.hibernate.naming_strategy=org.hibernate.cfg.EJB3NamingStrategy
  spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQL5Dialect
  spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true
  spring.jpa.properties.hibernate.current_session_context_class=thread
  </code></pre>
  
  <p>The first one is marked as depracted, as said. </p>
  
  <p>Now I have an entity:</p>
  
  <pre><code>@Entity
  @Table(name = "usaUploadTable", schema = "usertable201", catalog = "")
  public class UsaUploadTable {
      ....
  }
  </code></pre>
  
  <p>The table name is, like in <code>@Table(name = "")</code> usaUploadTable. </p>
  
  <p>Now when I run my application, I get </p>
  
  <blockquote>
    <p>Table 'usertable201.usa_upload_table' doesn't exist</p>
  </blockquote>
  
  <p>which is correct - it isn't named like how hibernate is changing it. </p>
  
  <p>What can I do to make hibernate use my table name correctly?</p>
  
  <p>Edit: </p>
  
  <p>I've also tried</p>
  
  <pre><code>DefaultNamingStrategy
  ImprovedNamingStrategy
  </code></pre>
  
  <p>All of them change it</p>
  
  <p>Versions:</p>
  
  <pre><code>spring-boot-1.4.0.RELEASE
  hibernate 5.1
  javax-transaction-api 1.2
  hibernate-validator 5.2.4
  javassist 3.20
  </code></pre>