6.16 Procedure for referencing and updating the database with the query language

A query expresses a processing request (inquiry) for a database as a string. A query is used to issue commands such as commands to search, update, and delete the data in a database to a system. To execute a query, use the javax.persistence.Query interface. The types of query include JPQL and native query. This section describes the procedure for referencing and updating the database with a query.

Organization of this section
6.16.1 Procedure for referencing and updating the database with JPQL
6.16.2 Procedure for referencing and updating the database with the native query
6.16.3 Specifying the range of query result items
6.16.4 Specifying the flush mode
6.16.5 Specifying a query hint
6.16.6 Notes on executing a query