Home » Search

About getResultList

1-10 of 200Refresh
Manual
82

Running JPA Queries

when exactly one result object is expected. Query.getResultList - for general use in any other case ... - for use when exactly one result object is expected. TypedQuery.getResultList - for general use in any ... (with getResultList) The following query retrieves all the Country objects in the database. Because multiple
JPA Doc
74

getResultList()

Method javax.persistence.Query List getResultList() Execute a SELECT query and return the query results as an untyped List. Returns: a list of the results Throws: IllegalStateException - if called for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query
JPA Doc
74

getResultList()

Method javax.persistence.TypedQuery List getResultList() Execute a SELECT query and return the query results as a typed List. Returns: a list of the results Throws: IllegalStateException - if called for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException
Manual
29

SELECT clause (JPQL / Criteria API)

> results = query.getResultList(); Because the results are managed entity objects they have all the support ... > results = query.getResultList(); Only singular value path expressions can be used in the SELECT ... ", Object[].class); List results = query.getResultList(); for (Object[] result : results
Issue
25

NPE at com.objectdb.jpa.JpaQuery.getResultList

) at com.objectdb.o.QRR.b(QRR.java:197) at com.objectdb.jpa.JpaQuery.getResultList ... ); } return q.getResultList(); } finally { em.close ... );             }             return q.getResultList();         }         finally {             em
Issue
25

NPE on em.createQuery(query).getResultList()

:144) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:627) at org.tynamo.seedentity.jpa ... (             "SELECT e FROM MyEntity e WHERE e = :p");         query.setParameter("p", e).getResultList
Issue
24

[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList

.JpaQuery.getResultList(JpaQuery.java:716) at com.btc.ep.dal.persist.impl.PersistenceService
Issue
24

Another NPE on em.createQuery(query).getResultList()

.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:627) at org.tynamo.seedentity.jpa.services
Issue
24

query.getResultList() throws ClassCastException

(QRR.java:232) at com.objectdb.o.QRR.b(QRR.java:151) at com.objectdb.jpa.JpaQuery.getResultList
Manual
22

Setting and Tuning of JPA Queries

execution if invoked before a query is run using getResultList or getSingleResult. Result Range ... ) .getResultList(); These methods can be invoked in a single expression with getResultList ... .setLockMode(LockModeType.PESSIMISTIC_WRITE) .getResultList(); Notice that when a query