About retrieve

31-40 of 200Refresh
JDO Doc
19

javax.jdo.JDOEntityManager

JavaDoc Reference Documentation -
JDO Doc
19

javax.jdo.PersistenceManager

retrieve(Object pc) Retrieve field values of an instance from the store. Retrieve field values ... the instance, and its field values must be retrieved. The PersistenceManager might use policy information about the class to retrieve associated instances. Parameters: pc - the instance Since: JDO 1.0 void
Manual
19

FROM clause (JPQL / Criteria API)

, consider the following INNER JOIN query that retrieves pairs of (country name, capital name): SELECT c ... instances.  Consequently, the loop that iterates over the results is inefficient, since retrieval ... Country objects because it eliminates the need for retrieving the associated Capital objects separately
JPA Doc
19

JPA Exceptions

to retrieve entity objects from the database. For example, when a required entity object is not found: or during query execution: The lock exceptions (above) may also be thrown during retrieval, if database lock has been requested for retrieved entity objects and it cannot be granted.
Manual
19

JPA Query Structure (JPQL / Criteria)

classes and objects. For example, a JPQL query can retrieve and return entity objects ... ...]] [ORDER BY ...] The first two clauses, SELECT and FROM are required in every retrieval query ... JPQL Query The following query retrieves all the Country objects in the database: SELECT c FROM
Manual
19

Logical Operators in JPQL and Criteria API

retrieves countries whose population and area (both) exceed specified limits: SELECT c FROM ... The following query retrieves countries whose population or area exceeds a specified limit: SELECT c FROM ... query retrieves all the countries whose population does not exceed a specified limit: SELECT c FROM
Manual
19

Running JPA Queries

(with getResultList) The following query retrieves all the Country objects in the database. The query ...  that to only print the country names, a query using projection and retrieving country names directly instead of retrieving the entire Country instances would be more efficient. Single Result Query
Manual
19

SELECT clause (JPQL / Criteria API)

The ability to retrieve managed entity objects is a major advantage of JPQL. For example ... are also supported. For example, the following query retrieves the name of the capital city ... with the containing entities. Therefore, embedded objects that are retrieved directly by a result path expression
Tutorial
19

Step 3: Add a Main Class

In this step we will add a main class to the project to store and retrieve Point objects from ... : " + q2.getSingleResult()); // Retrieve all the Point objects from the database ... objects in the database, and then runs a few queries, including a query that retrieves all 1000
Tutorial
19

Step 3: Add a Main Class

to store Point objects in the database and then retrieve them from the database. Use copy and paste ... ()); // Retrieve all the Point objects from the database: TypedQuery query ... , and then run a few queries, including a query that retrieves all the 1000 Point objects from