✅ Java Persistence Query Language (JPQL).
JPQL stands for Java Persistence Query Language defined in JPA specification.
The Java Persistence Query Language JPQL is an object-oriented query language that is used to perform database operations on persistent entities. Instead of the database table, JPQL uses the entity object model to operate the SQL queries.
Java Persistence Query Language JPQL is developed based on SQL syntax.
JPQL won’t affect the database directly.
Java Persistence Query Language JPQL is an extension of Entity JavaBeans Query Language (EJBQL), adding the following important features to
- perform join operations.
- update and delete data in a bulk.
- perform an aggregate function (sorting or grouping)
- have singe and multiple value result types
In this video, we are going to learn how to use Java Persistence Query Language JPQL to :
- find an entity
- update an entity
- sort an entity
- filter an entity
- delete an entity
- how to use the NamedQuery annotation.
Java Persistence Query Language JPQL syntax is very similar to the syntax of SQL.
We are going to use the Student entity defined in the previous video in order to create, update, find, and delete a student. During this video, we are going to use the H2 database for database operations.
▶GitHub Repository: https://github.com/GiuseppeScaramuzzi...
EntityManagerFactory | EntityManager | EntityTransaction
0:00 Introduction
0:36 Create the persistence.xml
4:01 Persist the JPA Entity
6:20 Find the JPA Entity
9:15 Update the JPA Entity
11:48 Delete the JPA Entity
13:10 Refactoring the code with EntityRepository
19:35 Adding the Unit Test
❤️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 ▬▬●
▶GitHub Repository: https://github.com/GiuseppeScaramuzzi...
📚 Blogs to follow to learn more about JPA:
▶ Baeldung: https://www.baeldung.com/
▶Javin Paul: https://javarevisited.blogspot.com/ | / javinpaul
▶Vlad Mihalcea: https://vladmihalcea.com/
SUBSCRIBE:
🔔 Subscribe to my Channel to always keep updated about the new video:
/ giuseppescaramuzzino
💯 FOLLOW ME:
▶Twitter:
/ giusescara
▶Linkedin:
/ giuseppe-scaramuzzino
▶YouTube:
/ giuseppescaramuzzino
🎵 TRACK INFO:
@RoaMusic
~~Roa Music~~
▶YouTube
/ roamusic
▶Spotify
https://open.spotify.com/artist/1ETpo...
▶Soundcloud
/ roa_music1031
#JavaPersistenceAPI #JPQL #Tutorial
На этой странице сайта вы можете посмотреть видео онлайн #03 - Java Persistence Query Language (JPQL) | JAVA PERSISTENCE API (JPA) | Tutorial | Java длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Giuseppe Scaramuzzino 11 Август 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 17,658 раз и оно понравилось 183 зрителям. Приятного просмотра!