© Josh Juneau 2020
J. JuneauJakarta EE Recipeshttps://doi.org/10.1007/978-1-4842-5587-2_9

9. Java Persistence Query Language

Josh Juneau1 
(1)
Hinckley, IL, USA
 

The Java Persistence API (JPA) utilizes a query language for communicating with underlying data stores. Although Jakarta EE uses entities rather than SQL for database access, it provides a query language so that developers can obtain the required information via the entities. The Java Persistence Query Language (JPQL) does just that because it provides a facility for querying and working with Jakarta EE entity objects. Although it is very similar to SQL, it is an object-relational query language, so there are some minor differences of which developers should be aware. Using JPQL along with ...

Get Jakarta EE Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.