Home » Search

About setParameter

71-80 of 95Refresh
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
Issue
1

NullpointerException at a normal select

When I run the following code: EntityManager em = getEm(); Customer result = null; try {     logger.debug("Ident: "+ident);     result = em.createQuery("Select c from Customer c where c.identifier=:id", Customer.class).setParameter("id", ident).getSingleResult(); } catch (javax.persistence
Forum
1

Object comparation never matches

)                 .setParameter("principal", authentication.getPrincipal()).getSingleResult
Forum
1

Online backup problem

. You may try:     Query query = em.createQuery("objectdb backup");     query.setParameter("dummy", "dummy