title: How to get non-distinct results from a hibernate query using "in"
body: <pre><code>List&lt;Prize&gt; prizes =
                  sessionProvider.getCurrentSession().createQuery("from Prize where id in (:ids)")
                          .setParameterList("ids", prizeIds).list();
  </code></pre>
  
  <p>I have a list of prizeIds, which are not unique. I need to fetch Prize objects for each id. But hibernate returns me only unique elements list. How can i get a list same size as the input list.</p>