#02 - Persistence Operations | JAVA PERSISTENCE API (JPA) | Tutorial | Java
Автор: Giuseppe Scaramuzzino
Загружено: 2020-08-03
Просмотров: 27467
✅ Persistence Operations with Java Persistence API (JPA).
Java Persistence API (JPA), it's a specification of Java.
JPA is used to persist data between Java objects and relational databases.
You can think of the Java Persistence API as a bridge between object-oriented domain models and relational database systems.
Persistence operations are used against the database and they are load and store operations.
In this video, we are going to explore in detail the Entity Managers and more specific we are going to learn:
how to create the persistence.xml file
how to create an entity and store it in the database with the entity managers
how to update an entity with the entity managers
how to find an entity with the entity managers
how to delete an entity with the entity managers
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
• Roa - Campfire 【Official】
/ roamusic
▶Spotify
https://open.spotify.com/artist/1ETpo...
▶Soundcloud
/ roa_music1031
#JavaPersistenceAPI #JPA #Tutorial
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: