Home » Search

About getResultList

71-80 of 200Refresh
Forum
1

Exception on creation when running multithreaded

' (error 117) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:633) at com.contextspace.acl ... .objectdb.o.QRR.b(QRR.java:144) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:627) ... 23
Forum
1

Get multiple entities by Id

");         query1.setParameter("id",idsToRequest);         List resultList1 = query1.getResultList ... resultList2 = query2.getResultList();         System.out.println(resultList2);         em.close
Forum
1

how explorer queries work

result = em.createQuery(queryString).getResultList(); throws an exception like this: java.lang.reflect ... )         at com.objectdb.o.QRR.b(QRR.java:151)         at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java
Forum
1

How to use JOIN FETCH?

a",Address.class);   System.out.println(aq.getResultList()); // Prints out both addresses OK ... ",Person.class);   List results = q.getResultList();   em.close();   emf.close
Forum
1

Internal exception when updating date filed (TemporalType.DATE)

.getResultList();                 for(Person person : persons) {                     person.setBirthday ... .getResultList(); for(Person person : persons) { person.setBirthday
Issue
1

Internal exception: NPE on criteria query with IN clause and empty collection

) at com.objectdb.o.QRR.i(QRR.java:155) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:721 ... List services = em.createQuery(cq).getResultList(); As exception itself is nothing wrong
Forum
1

InternalError on query of empty database

.jpa.JpaQuery.getResultList(JpaQuery.java:627) at sun.reflect.NativeMethodAccessorImpl.invoke0 ... $DeferredQueryInvocationHandler.invoke(SharedEntityManagerCreator.java:310) at $Proxy74.getResultList
Forum
1

Items in list are doubled, when the entity class is not enhanced

.createQuery("select c from Customer c").getResultList(); em.getTransaction().begin ... = em.createQuery("select i from Item i").getResultList(); em.getTransaction().begin
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