title: Fetching column names with data in hibernate
body: <p>I am building a war file where I don't want to maintain model files and hbm files.</p>
  
  <p>I want to build generic methods for CRUD operations, maintain a properties file outside of the war having constants with queries.</p>
  
  <p>Now when the user makes the request passing in the constant of the query , the query should be read from the properties file and executed in the generic methods for the CRUD operations and result be returned.</p>
  
  <p>Now here I am facing an issue, when fetching data from the database the data is fetched successfully but I am not getting the column names along with the data. So how can I fetch the column names along with the data fetched.</p>