Skip to main content

Using Queries

  • Chapter
  • First Online:
Pro Jakarta Persistence in Jakarta EE 10
  • 868 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+
from €37.37 /Month
  • Starting from 10 chapters or articles per month
  • Access and download chapters and articles from more than 300k books and 2,500 journals
  • Cancel anytime
View plans

Buy Now

eBook
EUR 17.99
Price includes VAT (Netherlands)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
EUR 70.84
Price includes VAT (Netherlands)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

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

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics