About retrieve

41-50 of 200Refresh
Manual
19

WHERE clause (JPQL / Criteria API)

JPQL query that retrieves selective objects from the database. Out of the four optional clauses ... The following query retrieves only countries with population size that exceeds a specified limit ... filters tuples before passing them to the SELECT clause. For example, the following query retrieves
Manual
15

Chapter 1 - Quick Tour

ObjectDB databases and perform basic CRUD operations (Create/Store, Retrieve, Update and Delete ... , retrieving, updating and deleting Point objects. To run the sample program of this chapter in
Manual
15

Query Parameters in JPA

Query parameters enable the definition of reusable queries. Such queries can be executed with different parameter values to retrieve different results. Running the same query multiple times ... ) The following method retrieves a Country object from the database by its name: public Country
Manual
15

Setting and Tuning of JPA Queries

for the first page), the following expression retrieves the results for a specified page: Listretrieves. For example, the following query
Tutorial
15

Step 3: Define a Spring DAO Component

); } // Retrieves all the guests: public List getAllGuests() { TypedQuery query ... - for storing a new Guest entity object in the database. getAllGuests - for retrieving all the existing
Tutorial
15

Step 3: Define a Spring DAO Component

public void persist(Guest guest) { em.persist(guest); } // Retrieves ...  Guest entity object in the database. getAllGuests - for retrieving all the existing Guest objects
Tutorial
15

Step 3: Define an EJB Session Bean

); } // Retrieves all the guests: public List getAllGuests ... - for retrieving all the existing Guest objects from the database. EJB classes are only supported by Java EE
Tutorial
15

Step 3: Define an EJB Session Bean

) { em.persist(guest); } // Retrieves all the guests: public Listretrieving all the existing Guest objects from the database. EJB classes
Tutorial
15

Step 4: Add a Servlet Class

: The EntityManagerFactory is retrieved from the application scope attribute, and then an EntityManager ... the database. All the Guest entity objects are retrieved from the database and stored in the request's
Tutorial
15

Step 4: Add a Servlet Class

performs the following operations on every http request: The EntityManagerFactory is retrieved from ... are retrieved from the database and stored in the request's "guest" attribute. Then the processing