Part 4. Writing queries

In part 4, we introduce data-query features and cover query languages and APIs in detail. Not all chapters in this part are written in a tutorial style; we expect you’ll browse this part of the book frequently when building an application and looking up a solution for a particular query problem.

Starting in chapter 14, we’ll talk about creating and executing queries using the basic query APIs, preparing and executing queries, and optimizing query execution. Continuing in chapter 15, we’ll cover the query languages, writing JPQL and criteria queries, retrieving data efficiently with joins, and reporting queries and subselects. Chapter 16 dives deeper into advanced query options: transforming query results, filtering collections, ...

Get Java Persistence with Hibernate, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.