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 ...