title: how to get column name on hql (like get metadata from resultset)
body: <p>i want to get the name of columns into HQL query result (with unkwon query content &amp; class "Student" attribut) </p>
  
  <pre><code>&gt;     Query query = session.createQuery("from Student s ");
  &gt;     ScrollableResults list = query.scroll(ScrollMode.FORWARD_ONLY);
  &gt;     
  &gt;       while (list.next()) {
  &gt;       
  &gt;           for(Object obj : list.get()){
  &gt;                   System.out.println("&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;: "+ obj);
  &gt;                   }
  &gt;                    
  &gt;           }
  </code></pre>
  
  <p>like this </p>
  
  <pre><code> Statement stmt = conn.createStatement();
      ResultSet resultSet = stmt.executeQuery("SELECT * FROM student");
        ResultSetMetaData md = resultSet.getMetaData();
  
              for (int i = 1; i &lt;= md.getColumnCount(); i++)
                   System.out.print(md.getColumnLabel(i) + " ");
  </code></pre>