title: Hibernate : Help in resolving exception org.hibernate.HibernateException: Missing table
body: <p>I am using Hibernate as ORM for my project. I use mysql Database<br>
  I have a table "Products" inside DB "catalog".<br>
  I have put the @Table(name="Products",schema="catalog") annotation for the entity Products in my application.</p>
  
  <p>However when I try to run the application I get the below exception. Can you please help me resolve this issue?  </p>
  
  <pre><code>Exception:  
          Exception in thread "main" org.hibernate.HibernateException: Missing table:Products
          at org.hibernate.cfg.Configuration.validateSchema(Configuration.java:1281)
          at org.hibernate.tool.hbm2ddl.SchemaValidator.validate(SchemaValidator.java:155)
          at org.hibernate.internal.SessionFactoryImpl.&lt;init&gt;(SessionFactoryImpl.java:508)
          at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1769)
          at org.eros.purchase.db.utils.HibernateUtil.configure(HibernateUtil.java:17)
          at Test.main(Test.java:14)
  </code></pre>
  
  <p>Any thoughts on how I can fix this?</p>