Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
Type inference is a Java compiler’s ability to look at each method invocation and corresponding declaration to determine the type argument (or arguments) that make the invocation applicable. For more details see https://docs.oracle.com/javase/tutorial/java/generics/genTypeInference.html.
- 2.
This is often referred to as an annotation processing tool, or APT, because it used to be a stand-alone tool shipped with the JDK and used only for processing annotations. Since Java SE 6, it is actually a generalized compile-time hook to perform any kind of preprocessing or code generation.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Jungmann, L., Keith, M., Schincariol, M., Nardone, M. (2022). Criteria API. In: Pro Jakarta Persistence in Jakarta EE 10. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-7443-9_9
Download citation
DOI: https://doi.org/10.1007/978-1-4842-7443-9_9
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-7442-2
Online ISBN: 978-1-4842-7443-9
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)