title: hiberante hbm2ddl create property not works
body: <p>hi i have a simple UserDetails class  with @entity annotation and in my hibernate config file, the hbm2ddl is set to create but when running it shows the table UserDetails not exist. After I created the table it works fine. Why hibernate don't create table automatically even hbm2ddl is set to create?
  hibernate.cfg.xml</p>
  
  
  
  <p></p>
  
  <pre><code>&lt;hibernate-configuration&gt;
  &lt;session-factory&gt;
  
          &lt;property name="hibernate.connection.driver_class"&gt;com.mysql.jdbc.Driver&lt;/property&gt;
          &lt;property name="hibernate.connection.url"&gt;jdbc:mysql://localhost:3306/shammu&lt;/property&gt;
          &lt;property name="hibernate.connection.username"&gt;root&lt;/property&gt;
          &lt;property name="hibernate.connection.password"&gt;root&lt;/property&gt;
  
  
          &lt;property name="hibernate.dialect"&gt;org.hibernate.dialect.MySQLDialect&lt;/property&gt;
  
          &lt;property name="cache.provider_class"&gt;org.hibernate.cache.NocacheProvider&lt;/property&gt;
  
          &lt;property name="show_sql"&gt;true&lt;/property&gt;
  
          &lt;property name="hibernate.hbm2ddl"&gt;create&lt;/property&gt;
  
          &lt;mapping class="org.shammu.UserDetails" /&gt;
  
  &lt;/session-factory&gt;
  &lt;/hibernate-configuration&gt;
  </code></pre>