title: What is the limit of hibernate in clause
body: <p>we know hibernate has this in clause:</p>
  
  <pre><code>Criteria criteria = session.createCriteria(User.class);
  criteria.add(Restrictions.in(userIds));
  </code></pre>
  
  <p>Is there any limit on the size of userIds (which is an ArrayList, say)?</p>
  
  <p>Thanks</p>