O'Reilly logo

Java Persistence with Hibernate, Second Edition by Christian Bauer, Gavin King, and Gary Gregory

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required