title: Hibernate Reimb is not mapped
body: <p>I've had this error before, but it was because I was pointing to the table name (user) instead of the class name (Users). The reimbursement table exists on my db with my Users table and I can pull information from it using normal SQL commands through my DBeaver scripts. This time I'm at a complete loss for why I'm being told it's not mapped.</p>
  
  <p>Exception: Reimb is not mapped </p>
  
  <p>[Select reimb_id, firstname, lastname, amount, type_id, description, submit_date, status_id, resolve_date From Reimb Left join Users Order by status_id]</p>
  
  <p>My Reimb class:</p>
  
  <pre><code>@Entity
  @Table(name = "reimbursement", schema = "ers")
  public class Reimb {
  </code></pre>
  
  <p>The HQL statement:</p>
  
  <pre><code>String hql = "Select reimb_id, firstname, lastname, amount, type_id, " +
                          "description, submit_date, status_id, resolve_date " +
                          "From Reimb " +
                          "Left join Users " +
                          "Order by status_id";
  
  Query q = session.createQuery(hql).setMaxResults(20);
  </code></pre>
  
  <p>I've tried doing @Entity(name = "Reimb") as I saw in a previous solution, but that didn't help either.</p>