Abstract
At this point, most of you will know enough about queries from what you have learned so far that you will likely not need any of the material from this chapter. In fact, roughly half of this chapter deals with using queries that will couple your application to a target database, so they should be used with some degree of planning and caution in any case.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
In a @NamedEntityGraph annotation it will contain the subgraph nodes for the entire entity graph.
- 2.
A subgraph can be defined for the root type, but in that case it is an additional fetch plan used when the root entity type is being accessed through a relationship.
- 3.
You can share subgraphs within the same entity graph, though.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2013 Mike Keith
About this chapter
Cite this chapter
Keith, M., Schincariol, M. (2013). Advanced Queries. In: Pro JPA 2. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4927-6_11
Download citation
DOI: https://doi.org/10.1007/978-1-4302-4927-6_11
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)