Get more recipes like this one in my new book Hibernate Tips: More than 70 solutions to common Hibernate problems:
[ Ссылка ]
The Hibernate Tips series provides quick answers to common questions. This week, I show you how to select multiple scalar values with a CriteriaQuery.
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:
[ Ссылка ]
Post:
[ Ссылка ]
Learn more:
You can not only use the Criteria API to create database queries, but you can also write update and delete statements, as I show in this post: [ Ссылка ].
And if you want to use the Criteria API in your project, you should also have a look at the JPA metamodel. It provides a great way to create queries in a type-safe way. I explain it in detail in this post: [ Ссылка ].
Want to connect with me?
Blog: [ Ссылка ]
Twitter: [ Ссылка ]
Facebook: [ Ссылка ]
#Hibernate #JPA #CriteriaQuery
![](https://s2.save4k.ru/pic/CQimDsEuodQ/maxresdefault.jpg)