Abstract
For most enterprise applications, getting data out of the database is at least as important as the ability to put new data in. From searching to sorting, analytics, and business intelligence, efficiently moving data from the database to the application and presenting it to the user is a regular part of enterprise development. Doing so requires the ability to issue bulk queries against the database and interpret the results for the application. Although high-level languages and expression frameworks have in many cases attempted to insulate developers from the task of dealing with database queries at the level of SQL, it’s probably fair to say that most enterprise developers have worked with at least one SQL dialect at some point in their career.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
As in most examples in the book, the bean could be a session bean, a CDI bean, or any other kind of container bean that supports entity manager injection.
- 2.
Parameter values that may have already been bound using setParameter() are not saved as part of the named query.
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). Using Queries. In: Pro Jakarta Persistence in Jakarta EE 10. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-7443-9_7
Download citation
DOI: https://doi.org/10.1007/978-1-4842-7443-9_7
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)