Home » Search

About setParameter

91-94 of 94Refresh
Forum
1

Visibility of changes in Transaction is not visible to a JPA QL Query

.setParameter("cachedKey", Integer.toString(which));   return q.getSingleResult
Issue
1

Wrong type on SUM function

Hello, I have a problem when I run this aggregation query: Query q = em.createQuery(         "SELECT cc.totalCC.moneda, SUM(cc.totalCC.importe) FROM ComprobanteContable cc " +         "WHERE cc.cuenta=:cuenta GROUP BY cc.totalCC.moneda"); List resultList = q.setParameter("cuenta
Forum
1

IN expression in a Criteria Query

=             em.createQuery("SELECT e FROM MyEntity e WHERE e.str IN (:bindVar)");         query.setParameter
Forum
1

Query can't see recently persisted object

.setParameter("oid", oid); if ("-62e6083d:1612795a01c:-6e65".equals(oid)) { logger.debug