title: Query syntax exception, table name is not mapped
body: <p>I'm using HQL query, pls see the below code.</p>
  
  <p>Entity class:</p>
  
  <pre><code>@Entity
  @Table(name = "COUNTRY")
  public class Country implements Serializable{
  
  private long countryCode;
  private String countryName;
  </code></pre>
  
  <p>DAO:</p>
  
  <pre><code>public List&lt;Country&gt; getCountryList(){
      List&lt;Country&gt; resultList = null;
      System.out.println("in dao");
      Query query = getSession().createQuery(" from country ctry ");
      resultList =  query.list();
  
  
      return resultList;
  }
  </code></pre>
  
  <p>app context.xml:</p>
  
  <pre><code>&lt;beans:property name="annotatedClasses"&gt;
    &lt;beans:list&gt;
        &lt;beans:value&gt;com.test.in.ergy.entity.Country&lt;/beans:value&gt;
    &lt;/beans:list&gt;
  &lt;/beans:property&gt;
  </code></pre>
  
  <p>What might be the problem</p>