About results

manual

SELECT clause (JPQL / Criteria API)

Explains how to use the SELECT clause and projections in a JPA/JPQL query.... , Country. class ) ; List<Country> results = query. getResultList getResultList() TypedQuery's method Execute a SELECT query and return the query results as a typed List. See JavaDoc Reference Page... ( ...

 
manual

Setting and Tuning of JPA Queries

Explains various JPA query settings - result range, flush and lock.... method Execute a SELECT query and return the query results as a typed List. See JavaDoc Reference Page... or ... TypedQuery's method Set the maximum number of results to retrieve. See JavaDoc Reference Page... methods enable ...

 
api-jpa

Criteria Query Selection and Results

Reference (JavaDoc) of JPA query criteria result interfaces, including Selection, CompoundSelection, Order and Tuple.... the SELECT and ORDER BY clauses and for representing query results as tuples. SELECT Clause Elements The content of the ... section for more details and examples. Query Results as Tuples JPA 2 introduces a new way to represent multi ...

 
manual

Running JPA Queries

Explains how to use JPA to run Java Persistence Query Language (JPQL) queries.... method Execute a SELECT query and return the query results as an untyped List. See JavaDoc Reference Page... - for ... method Execute a SELECT query and return the query results as a typed List. See JavaDoc Reference Page... - for ...

 
api-jpa

javax.persistence.criteria.CriteriaQuery

The CriteriaQuery interface defines functionality that is specific to top-level queries.(Interface of JPA)

 
api-jdo

javax.jdo.Query

The Query interface allows applications to obtain persistent instances, values, and aggregate data from the data store.(Interface of JDO)

 
api-jpa

javax.persistence.criteria.Subquery

The Subquery interface defines functionality that is specific to subqueries.(Interface of JPA)

 
api-jpa

getResultList()

Execute a SELECT query and return the query results as a typed List.(Method of javax.persistence.TypedQuery)

 
manual

[ODB1] Chapter 7 - JDOQL Queries

Explains how to use JDOQL, the Java/JDO Query Language.... to a specified selection criteria, and iteration over the results in a specified order. This chapter contains the following ... 7.5  Import Declarations 7.6  Ordering the Results 7.1  Introduction to JDOQL A basic JDOQL ...

 
forum_thread

Empty query results after JAR creation

Hi, I struggle with a strange issue. I've embedded ObjectDB in a small application to query cases. Within Netbeans everything works fine but when I create a  JAR File and executed via "Java -Jar xyz.jar", I get either empty results or on some cases a "NoResultException" which appears to report the same issue. I've created a small test case (attached zip file) with sample DB to reproduce the issue.  ... and executed via "Java -Jar xyz.jar", I get either empty results or on some cases a "NoResultException" which appears to report ... a different folder, the query does not return any results any more. What do I wrong? Do I need any additional ...