filmov
tv
Hibernate Tip: How to implement a subquery in a CriteriaQuery
![preview_player](https://i.ytimg.com/vi/fdF_vx6fm4g/maxresdefault.jpg)
Показать описание
One of the readers of my blog asked me the following question: In one of our use cases, we use the Criteria API to build the query dynamically. Now I need to add a subquery. Does the Criteria API support subqueries? And how can I implement them?
Yes, you can use sub queries in your CriteriaQuery and I will show you how in this video. But before we jump in, please subscribe to this channel and turn on the notification so that you don’t miss any future Hibernate tips.
If you like this video, please give me your thumbs up and share it with your friends and co-workers.
Like my channel? Subscribe!
Join the free Member Library:
Want to connect with me?
Hibernate Tip: How to implement a subquery in a CriteriaQuery
Hibernate Tip: How to use a custom database sequence
Hibernate Tip - How to map an association to a java.util.Map
Hibernate Tip: How To Map an Entity to a Query
Hibernate Tip: How to create a database setup script based on entity mappings
Hibernate Tip: How to use the QueryCache to avoid additional queries
Hibernate Tip: How to map native query results to managed entities
Hibernate Tip - How to bootstrap Hibernate with Spring Boot
Hibernate & JPA Tutorial - Crash Course
Hibernate Tips ‘n’ Tricks - 15 Tips to solve common problems by Thorben Janssen
Hibernate Tip : How to avoid MultipleBagFetchException
Hibernate Tip: How to integrate an external query builder
Hibernate Tip - How to use pagination with JPQL
Hibernate Tip: How to map the latest element of an association
Hibernate Tip: How does Hibernate’s native ID generator work?
Hibernate Tip: How to Share the Primary Key in a One-to-One Association
Hibernate Tip : How to create and initialize a database
Hibernate Tip: How to persist a List of Strings as an ElementCollection
Hibernate Tips: How to use Hibernate's native bootstrapping API
Hibernate Tip: Easiest way to manage bi-directional associations
Hibernate Tip - How to log SQL statements and their parameters
Hibernate Tip: How to map an entity attribute to an Optional
Hibernate Tip: Customize the association mappings using a composite key
Hibernate Tip: How to override column mappings of a superclass
Комментарии