About setParameter

71-80 of 98Refresh
Issue
1

InternalException when using MEMBER OF on a large list in a query

= em.createQuery(query, String.class); q.setParameter(1, scopeIDs); //scopeIDs is a Set
Forum
1

java.lang.UnsupportedOperationException

", License.class); query.setParameter(1, id); int changes = query.executeUpdate
Forum
1

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

)     .setParameter( "name", name.toLowerCase() );    final List guests =  query.getResultList
Forum
1

Join query problem with new statetment

)",     InspirationsPerSupplierResult.class); inspirationQuery.setParameter(1, sup); Nothing special
Issue
1

JPQL support for mapped by (inverse) collections

", A.class)             .setParameter("list", new ArrayList(list1)).getResultList
Forum
1

Like fails if both underscore and percent are used

(queryString, StringHolder.class); query.setParameter("filter", "_oo%"); List results
Forum
1

Memory leak with OutOfMemoryError exception

.setParameter("symbol", symbol);     List results = q.getResultList();     em.close
Forum
1

Memory Leak?

("DELETE d FROM Device d WHERE d.deviceId = ?1");    q1.setParameter(1, new Long(i));    //q1
Issue
1

Negative snapshot user count

)                         .setParameter("id", id).executeUpdate();                     em2.getTransaction().commit
Issue
1

NPE on em.createQuery(query).getResultList()

(             "SELECT e FROM MyEntity e WHERE e = :p");         query.setParameter("p", e).getResultList