Home » Search

About getResultList

61-70 of 200Refresh
Forum
1

"Unexpected query expression" using CriteriaQuery FetchParent Interface

relationship   criteriaQuery.select(root);   System.out.println(em.createQuery(criteriaQuery).getResultList ... ) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:725) Thank you for this bug report
Forum
1

@OneToMany(fetch = FetchType.LAZY) list is always null

= entityManager.createQuery("SELECT p FROM Parent p"); parents = query.getResultList ... = entityManager.createQuery("SELECT p FROM Parent p"); parents = query.getResultList
Forum
1

Cannot sort descending, when ordering by caluculated float in a method

= query.getResultList();         System.out.println(resultList);         em.close();         emf ... "); List resultList = query.getResultList(); System.out.println(resultList
Forum
1

ClassCastException of same object type

().createQuery("select e from XCCompetitorCount e", XCCompetitorCount.class).getResultList ... ().createQuery("select e from XCCompetitorCount e", XCCompetitorCount.class).getResultList
Issue
1

com.objectdb.o.InternalException

No idea what happened.  A simple getResultList() opearation. DB table affected size is ~ 26000 records, physical DB file size is ~ 8.5MB Thanks for any help ! Leon log file ... .java:247) at com.objectdb.o.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery
Forum
1

Criteria query error: Unexpected query token

); c.from(aClass); return entityManager.createQuery(c).getResultList(); }   Entities ... );      return entityManager.createQuery(q).getResultList(); } Thanks again, I'm enjoying
Forum
1

CriteriaQuery using isNotNull with other conditions results in InternalException

(criteria).getResultList(); i get the exception java.lang.RuntimeException: com.objectdb.o ... .objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:586) at org.jboss.seam.security.management
Forum
1

Eager Fetch is not stable for collection or map types?

.setParameter("id", id).getResultList();     if(result.size() > 0) {       Game g = result.get(0 ... ", Game.class); List result = query.setParameter("id", id).getResultList(); if(result
Forum
1

Entity has be persistended,but query not fetched?

.setFlushMode(FlushModeType.AUTO); query.getResultList();   The following example demonstrates ... );         System.out.println("count: " + query.getResultList().size());         em.getTransaction().rollback
Issue
1

EOFException

.getResultList(JpaQuery.java:675) at rbccm.felix.objectdb.workflow.ObjectDbGraphContainer.find(Unknown ... ) at com.objectdb.o.QRR.b(QRR.java:151) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:666