title: Hibernate not including new database information
body: <p>I am using <code>Hibernate 2</code> and using <code>MsSQL</code> as my database. I added a column into the database, and when I try to access it gives me following exception:</p>
  
  <pre><code>System.out.println((((Project)tempList.get(0)).getIsActive()));
  </code></pre>
  
  <p>It doesn't work. I always get <code>null</code>. I think that <code>getHibernateTemplate()</code> is creating a project and not including the active field.  I don't understand it!</p>
  
  <pre><code>public Project findProject(String projectId) throws Exception
  {
      Project proj = null;
      String queryStr = "from Project p where p.projectId=?"; 
      Object[] questionMark = new Object[]{new String(projectId)};
      List tempList = getHibernateTemplate().find(queryStr, questionMark);
      if(tempList.size()&gt;0)
      {
          proj = (Project)(tempList.get(0));
      }
      System.out.println((((Project) tempList.get(0)).getProjectId()));
      System.out.println((((Project)tempList.get(0)).getIsActive()));
      return proj; 
      //find why this does not include the active state!!
  }
  </code></pre>