© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
L. Jungmann et al.Pro Jakarta Persistence in Jakarta EE 10https://doi.org/10.1007/978-1-4842-7443-9_9

9. Criteria API

Lukas Jungmann1  , Mike Keith2, Merrick Schincariol3 and Massimo Nardone4
(1)
Prague, Czech Republic
(2)
Ottawa, ON, Canada
(3)
Almonte, ON, Canada
(4)
HELSINKI, Finland
 

In the last chapter, we looked in detail at the Jakarta Persistence QL query language and the concepts that underlie the Jakarta Persistence query model. In this chapter, we look at an alternate method for constructing queries that uses a Java programming language API instead of Jakarta Persistence QL or native SQL.

We begin with an overview of the Jakarta Persistence Criteria API ...

Get Pro Jakarta Persistence in Jakarta EE 10: An In-Depth Guide to Persistence in Enterprise Java Development 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.