Abstract
In the last chapter, we looked in detail at the JP QL query language and the concepts that underlie the JPA query model. In this chapter, we will look at an alternate method for constructing queries that uses a Java programming language API instead of JP QL or native SQL.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
This is often referred to as an annotation processing tool, or APT, because it used to be a standalone 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 pre-processing or code generation.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Mike Keith
About this chapter
Cite this chapter
Keith, M., Schincariol, M. (2013). Criteria API. In: Pro JPA 2. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4927-6_9
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4927-6_9
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4926-9
Online ISBN: 978-1-4302-4927-6
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)