title: Dynamic query construction using hibernate or spring jdbc
body: <p>We are dessigning a system where we want to construct the query dynamically and then using that query we need to retrieve data too.</p>
  
  <p>1) We have select clause table having information of all field that we need to select.
  2) We have from clause table where we have all table name store
  3) We have where clause table.</p>
  
  <p>Using all these table we need to create a query. and then after running the query we need to get the data too.</p>
  
  <p>Please suggest if you have any example to handle such requirement using spring or hibernate.</p>
  
  <p>Thanks in Advance </p>