SyntaxFix
Write A Post
Hire A Developer
Questions
Leaving out the parenthesis and simply calling 'setParameter' now works with at least Hibernate.
String jpql = "from A where name in :names"; Query q = em.createQuery(jpql); q.setParameter("names", l);