title: JPQL IN clause: Java-Arrays (or Lists, Sets...)?
body: <p>I would like to load all objects that have a textual tag set to any of a small but arbitrary number of values from our database. The logical way to go about this in SQL would be to build an "IN" clause. JPQL allows for IN, but it seems to require me to specify every single parameter to IN directly (as in, "in (:in1, :in2, :in3)").</p>
  
  <p>Is there some way to specify an array, or a list (or some other container) that should be unrolled to the values of an IN clause?</p>