Home » Search

About getResultList

51-60 of 200Refresh
Forum
2

Null enums and IS (NOT) NULL: NullPointerException

(QRR.java:153) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:716) at com.sun.enterprise.container.common.impl.QueryWrapper.getResultList(QueryWrapper.java:84) at TestBean.postConstruct ... .exampleEnum IS NULL"); entities = query.getResultList(); } public void method
Issue
2

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

.getResultList(); for (Element e : elements) { log_info($i,"---"); log_info ... e FROM Element e", Element.class);         List elements = query.getResultList ... .class);         List elements = query.getResultList();         return elements
Forum
2

Schema-Update: Rename superclass and remove one subclass

", RenamedSuperClass.class); List result = q.getResultList(); System.out.println ... :549) at com.objectdb.o.QRR.f(QRR.java:212) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery ... ) at com.objectdb.o.QRR.f(QRR.java:212) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:719
Issue
2

Schema-Update: Rename superclass and remove one subclass

", RenamedSuperClass.class); List result = q.getResultList(); System.out.println ... :549) at com.objectdb.o.QRR.f(QRR.java:212) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery ... ) at com.objectdb.o.QRR.f(QRR.java:212) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:719
Forum
2

Searching lists within objects

.getResultList();   If I try to use isMember I have to use: Attribute attributeLastName = em ... .QRR.b(QRR.java:143) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:618) at sun.reflect ... :310) at $Proxy74.getResultList(Unknown Source) at com.contextspace.dao.impl.BaseDAOImpl
Issue
2

Strange Error with Criteria API and Sorting

"))));   query.select(root).distinct(true);   List result = em.createQuery(query).getResultList ... ' for distinct results (error 745) (position 70) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery ... .java:242) at com.objectdb.o.QRR.b(QRR.java:153) at com.objectdb.jpa.JpaQuery.getResultList
Forum
2

Updating Entities

, Employee.class).getResultList(); } The problem I'm facing is when I use handleModify() from ... = " + newRate + " WHERE rate = " + oldRate, Paygrade.class); query.getResultList().forEach(p ... ("--------"); query.getResultList().forEach(p -> System.out.println(p.getRate())); } and got these results
Forum
2

Why the internal error was thrown?

.java:247) at com.objectdb.o.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery.getResultList ... .getResultList(JpaQuery.java:719) at com.btc.ep.base.dal.internal.services.PersistenceUtilityServiceImpl ... ("objectdb.result-fetch", "LAZY");     return q.getResultList(); } Please try build 2.6.8_05 that may fix this exception. btc_es
Forum
2

Wrong data stored in time only fields

  WHERE  (r.startTime < {t '00:00:00'})");         List resultList = q.getResultList ... .getResultList();         Iterator itr = resultList.iterator();         while (itr.hasNext ... .getResultList();         itr = resultList.iterator();         while (itr.hasNext()) {             dt
Forum
2

Object as parameter results in exception

)));   TypedQuery q = getEntityManager().createQuery(c);   List resultList = q.getResultList ... ().createQuery(c);   List resultList = q.getResultList();   if(resultList.size() > 0){    return ... );     List resultList = q.getResultList();   if(resultList.size() > 0){    return resultList