public void testWithSingleParamNoParentheses() {
OpenJPAEntityManager em = _emf.createEntityManager();
String jpql = "select a from Address a where a.zip in :p";
Integer zip = ORIGINAL_ZIPS.get(4);
TypedQuery<Address> q = em.createQuery(jpql, Address.class);
q.setParameter("p", zip);
try {
List<Address> result = q.getResultList();
fail("Expected error in execution because single-valued parameter not acceptable without parenthese");
} catch (ArgumentException e) {