filmov
tv
#09 Criteria API JPA | JAVA PERSISTENCE API JPA | Tutorial | Java | JakartaEE
Показать описание
✅ JPA Criteria API
The Criteria API is one of the most common ways of constructing queries for entities and their persistent state. It is just an alternative method for defining JPA queries.
Criteria API defines a platform-independent criteria queries, written in Java programming language. It was introduced in JPA 2.0. The main purpose behind this is to provide a type-safe way to express a query.
In this video, we're going to use:
- SELECT
- WHERE
- DISTINCT
- ORDER BY
- GROUP BY
We’re going to use the EntityManager to create a CriteriaBuilder object.
After that, using the CriteriaBuilder we're going to create the CriteriaQuery. The CriteriaQuery is used to create a query object.
During this video, we are going to use the H2 database for database operations.
📚 Blogs to follow to learn more about JPA:
Criteria API | EntityManager | CriteriaBuilder | CriteriaQuery | EntityRelationship | JakartaEE | JPA | Java
0:00 Introduction
0:37 SELECT with Criteria API | JPA
3:48 ORDER BY with Criteria API | JPA
5:08 WHERE with Criteria API | JPA
8:16 GROUP BY with Criteria API | JPA
❤️Let's start and please enjoy the video.
Thanks for watching!
✍️ If you have any questions or doubts don’t hesitate to write them inside the comments section below.
●▬▬▬ LINKS ▬▬▬●
SUBSCRIBE:
🔔 Subscribe to my Channel to always keep updated about the new video:
💯 FOLLOW ME:
▶Twitter:
▶Linkedin:
▶YouTube:
🎵 TRACK INFO: @RoaMusic
~~Roa Music~~
▶YouTube
▶Spotify
▶Soundcloud
#JavaPersistenceAPI #JPA #Tutorial
The Criteria API is one of the most common ways of constructing queries for entities and their persistent state. It is just an alternative method for defining JPA queries.
Criteria API defines a platform-independent criteria queries, written in Java programming language. It was introduced in JPA 2.0. The main purpose behind this is to provide a type-safe way to express a query.
In this video, we're going to use:
- SELECT
- WHERE
- DISTINCT
- ORDER BY
- GROUP BY
We’re going to use the EntityManager to create a CriteriaBuilder object.
After that, using the CriteriaBuilder we're going to create the CriteriaQuery. The CriteriaQuery is used to create a query object.
During this video, we are going to use the H2 database for database operations.
📚 Blogs to follow to learn more about JPA:
Criteria API | EntityManager | CriteriaBuilder | CriteriaQuery | EntityRelationship | JakartaEE | JPA | Java
0:00 Introduction
0:37 SELECT with Criteria API | JPA
3:48 ORDER BY with Criteria API | JPA
5:08 WHERE with Criteria API | JPA
8:16 GROUP BY with Criteria API | JPA
❤️Let's start and please enjoy the video.
Thanks for watching!
✍️ If you have any questions or doubts don’t hesitate to write them inside the comments section below.
●▬▬▬ LINKS ▬▬▬●
SUBSCRIBE:
🔔 Subscribe to my Channel to always keep updated about the new video:
💯 FOLLOW ME:
▶Twitter:
▶Linkedin:
▶YouTube:
🎵 TRACK INFO: @RoaMusic
~~Roa Music~~
▶YouTube
▶Spotify
▶Soundcloud
#JavaPersistenceAPI #JPA #Tutorial
Комментарии