title: Hibernate(HQL) - how to query "where many in()" many to many
body: <p><br>
  I have a user entity that has many cars.<br>
  I cant fetch the user by car list with "IN" statement.     </p>
  
  <pre><code>List&lt;Car&gt; cars = getCarsList();
  String hql = "From User WHERE user.cars in(:cars)";
  Query query = session.createQuery(hql)
  query.setParameterList("cars",cars);
  //query.setParameterList("cars",cars.toArray());//not working also
  //query.setParameter("cars","1,4,8,30");//not working also
  query.setMaxResults(1);
  </code></pre>
  
  <p>In this way, the parameter is cars being  ignored.<br>
  I have also tries to send vars.toArray();<br>
  And I also tried to send String 1,4,8,300 (Ids if cars).  </p>