Home » Search

About getResultList

51-60 of 200Refresh
Forum
1

Lazy loading does not work - crud takes long

.getResultList();         Logger.getLogger(TableManager.class.getName()).log(Level.INFO, "initialize ... > getResultList() {         Query query = em.createQuery("SELECT q FROM Project q", Project.class);         return query.getResultList();     } Query.class @Entity @Table(name = "PROJECT
Forum
1

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
1

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
1

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
1

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
1

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
1

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
1

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
1

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
1

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