title: hbm2ddl.auto is not working
body: <p>I have created one entity class Emp, I am using hbm2ddl.auto to create tables, below entity related table is creating properly, but before this table in my database some more tables are there, if i use property hbm2ddl.auto as create it need to drop the total schema(total tables) and created the entity related table freshly, old tables are not deleted. That tables are there and this new table is created, I am not getting this create functionality can anyone please clarify my doubt. I used the version 3.6.4.</p>
  
  <h1>Emp.java</h1>
  
  <pre><code>@Entity
  
  @Table(name="Employe")
  
  public class Emp {
  
      @Id
  
      int empid;
  
      String ename;
  
      public int getEmpid() {
  
          return empid;
  
      }
  
      public void setEmpid(int empid) {
  
          this.empid = empid;
  
      }
  
      public String getEname() {
  
          return ename;
  
      }
  
      public void setEname(String ename) {
  
         this.ename = ename;
  
      }
  
  }
  </code></pre>
  
  <h1>configuration.cfg.xml</h1>
  
  <p></p>
  
  <p></p>
  
  <pre><code>&lt;property name="connection.driver_class"&gt;com.mysql.jdbc.Driver&lt;/property&gt;
  &lt;property name="connection.url"&gt;jdbc:mysql://localhost:3306/sample&lt;/property&gt;
  &lt;property name="connection.username"&gt;root&lt;/property&gt;
  &lt;property name="connection.password"&gt;sun&lt;/property&gt;
  &lt;property name="connection.pool_size"&gt;1&lt;/property&gt;
  &lt;property name="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="hbm2ddl.auto"&gt;create&lt;/property&gt;
  &lt;mapping class="in.hib.Emp" /&gt;
  </code></pre>
  
  <p></p>
  
  <p></p>
  
  <p>My main program is this</p>
  
  <pre><code>public class HibApplication {
  
      public static void main(String[] args) {
  
          Emp e=new Emp();
  
          e.setEmpid(2);
  
          e.setEname("pavai");
  
          Configuration cfg=new Configuration().configure();
  
          SessionFactory sf=cfg.buildSessionFactory();
  
          Session session=sf.openSession();
  
          session.beginTransaction();
  
          session.save(e);
  
          session.getTransaction().commit();        
  
      }
  
  }
  </code></pre>