Home » Search

About getResultList

21-30 of 200Refresh
Tutorial
11

Step 4: Add a Servlet Class

).getResultList(); request.setAttribute("guests", guestList); request
Tutorial
11

Step 4: Add a Servlet Class

.createQuery( "SELECT g FROM Guest g", Guest.class).getResultList(); request
Result
11

Posting to ObjectDB Website - Important Instructions

query = em.createQuery("SELECT e FROM MyEntity e");         List resultList = query.getResultList
JPA Doc
4

javax.persistence.TypedQuery

when the implementation does not support this use Since: JPA 2.0 List getResultList() Execute a SELECT ... > getResultList() Execute a SELECT query and return the query results as a typed List. Execute a SELECT
JPA Doc
3

javax.persistence.NamedQuery

") .setParameter("custName", "Smith") .getResultList(); Since: JPA 1.0 Learn how to define and use
JPA Doc
3

javax.persistence.Query

when the implementation does not support this use Since: JPA 2.0 List getResultList() Execute a SELECT query
Forum
2

Missing Data on Retrieval (0, null values)

> resultList = em.createQuery("SELECT q  FROM "+tableName+" "+n).getResultList();   exportToCSV ... : List resultList1 = em.createQuery("SELECT p  FROM Person p").getResultList();     -> resultlist1   OK List resultList2 = em.createQuery("SELECT d  FROM Document d" ).getResultList
Forum
2

java.lang.NullPointerException when using ORDER BY

exception           at com.arunta.base.db.RecordingMetaDataDAO.getResultList(RecordingMetaDataDAO.java:925)                       at com.arunta.app.services.RecordingService.getResultList ... )                                                          at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:695
Forum
2

Connection is closed (error 526)

is closed (error 526) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:633) at fpg.Nodes.getSons ... .java:144) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:627) ... 3 more Caused by ... .java:266) at com.objectdb.o.QRR.b(QRR.java:168) at com.objectdb.jpa.JpaQuery.getResultList
Forum
2

Problem with distinct select, order by and equivalent alias/attribute path

: ");         System.out.println(q1);                 em.createQuery(q1, Location.class).getResultList ... , Location.class).getResultList();                 String q2 = "select distinct s.location ... (q2);                 em.createQuery(q2, Location.class).getResultList();                 em