About getResultList

81-90 of 200Refresh
Forum
1

java.lang.ClassCastException: CriteriaQueryImpl cannot be cast to java.util.List

Query) instance from your CriteriaQuery and then execute the query using getResultList ... = query.getResultList(); For more details see this manual page. Please delete me Please follow
Forum
1

Like fails if both underscore and percent are used

= query.getResultList(); assertEquals(1, results.size()); } private List ... .createQuery(query).getResultList(); } } Thank you for this report and for the clear test case
Forum
1

Listing large number of complicated objects with paging.

.setFirstResult(start).setMaxResults(count).getResultList(); is quite slow. Well, after first request ... .setFirstResult(20).setMaxResults(10).getResultList();         System.out.println("Results
Forum
1

Memory leak with OutOfMemoryError exception

) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:686) at newstockscreener ... .setParameter("symbol", symbol);     List results = q.getResultList();     em.close
Forum
1

Merge Issue: Attempt to reuse an existing primary key value

> resultList = em.createQuery(             "SELECT b FROM B b", B.class).getResultList ... ();         List resultList = em.createQuery("select B from B b", B.class).getResultList();         Assert
Forum
1

multiple LEFT JOINs do not work as expected

.depth = 0 AND n2.depth = 1 AND n3.depth = 2");         List resultList = query.getResultList ... = query.getResultList(); System.out.println(resultList.size()); em.close
Forum
1

ODB should auto-restart if it detects it's necessary

(QRR.java:211) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:686) at xxx.xxx.extra ... .java:545) at com.objectdb.o.QRR.f(QRR.java:211) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery
Forum
1

OneToMany and cascade delete problem

(error 363) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:674) at com.objectdb.test.bug ... .getResultList(JpaQuery.java:665) ... 2 more Caused by: com.objectdb.error.jpa._EntityNotFoundException
Forum
1

Performance problem

.setMaxResults(20); queryAkt.getResultList(); i += 20;     }     endTime ... .setFirstResult(i); queryAkt.setMaxResults(20); queryAkt.getResultList(); i += 20
Forum
1

Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

").getResultList();     System.out.println(t.size()); } @Transactional(readOnly = false) public void ... ").getResultList();     System.out.println(t.size());   }   Both addObject and addObjectw