title: Creating inner query in hibernate
body: <p>how to add a set parameter() metheod inside the inner query in hibernate?</p>
  
  <p>I have try to do like this but already have a errors </p>
  
  <p>this is my code</p>
  
  <pre><code>Query query=session.createQuery("select eq.euipmentName,eq.type from Euipment eq where eq.id in(select euipment from Quotation qt where qt. supQuotation=:ids)");          
  query.setParameter("ids",id);
  list = (List&lt;Euipment&gt;)query.list();
  </code></pre>