Im trying the following with no luck how would I go about passing a list as a parameter and then using it
List<Number> list =
em.createQuery("select number from Number number where number.phone in (:numberList)")
.setParameter("numberList", thisIsAList<Number>
.getResultList();
When I change the "where number.phone" portion of the query to "where number" I get a object references an unsaved transient instance - save the transient instance before flushing: Number error
Thank you all for your time
[ July 16, 2008: Message edited by: john mattucci ]