The ULTIMATE Guide for Spring Data JPA & Hibernate | 5 Hours Tutorial

Опубликовано: 01 Октябрь 2024
на канале: Bouali Ali
64,226
1.6k

🌟 Dive into the world of Spring Boot & Spring Data JPA with our latest course! 🚀 Immerse yourself in 8 hours of meticulously crafted content, meticulously prepared with passion and care. 🤓

In today's competitive market, mastering Spring Boot is a career game-changer. The demand for skilled Spring Boot developers is skyrocketing, and top-tier companies are on the lookout for professionals like you.

Embark on an incredible journey, exploring topics such as "Spring Core," "RESTful API," "Data Persistence & Spring Data JPA,", Embedded entities, Embedded ID, Inheritance, Named queries, Specifications and much more. Imagine not just being a developer, but a problem solver and digital magician, transforming code into cutting-edge solutions.

🎟 Join this channel to get access to perks: ‪@BoualiAli‬

CONNECT WITH ME:
👨‍💻. Website: https://aliboucoding.com
👨‍🏫 Facebook:   / 589612651142975  
📸 Instagram:   / alibou_coding  
🎮 GitHub: https://github.com/ali-bouali
🏘️ Discord:   / discord  

Recommended Courses:
🎬 Spring Boot security & JWT token:    • Spring boot 3.0 - Secure your API wit...  
🎬 Spring security - Roles and permissions:    • Spring boot 3 & Spring security 6 - R...  
🎬 Spring Boot - Microservices architecture:    • Microservices tutorial with Spring bo...  
🎬 DevOps - Github Actions CI/CD:    • GitHub Actions CI/CD pipeline | Step ...  
🎬 Spring Security - KeyCloak integration:    • Spring boot 3 Keycloak integration fo...  
🎬 DevOps - Docker for Beginners:    • Docker tutorial for beginners | [In 2...  
🎬 DevOps - AWS EC2 deployment:    • 🚀 Deploy Spring boot application to A...  
🎬 Angular - Full course from scratch:    • Angular Tutorial For Beginners | 3 Ho...  
🎬 Websocket - Chat application one to one:    • WebSocket Tutorial with Spring Boot |...  
🎬 Spring Security - Two Factors Authentication 2FA (TFA):    • Two Factor Authentication & JWT | Spr...  
🎬 Spring Boot - Swagger UI & OpenApi Decomentation :   • Spring boot 3 - OpenApi Documentation...  
🎬 Spring Boot - Reactive programming & WebFlux:   • Reactive Programming with Spring Boot...  
🎬 Spring Data JPA & Hibernate:    • Spring Data JPA - The Introduction co...  
🎬 Apache Kafka tutorial:    • Apache Kafka Tutorial with Spring Boo...  
🎬 Spring batch tutorial:    • Spring batch  
🎬 Spring Boot tutorial:    • The ULTIMATE Spring Boot course | 8 H...  
#springboot #springdatajpa

Table of content:
00:00 Intro
01:40 Setup postgres DB (Docker)
06:45 Setup MySQL DB (Docker)
09:12 Create a new spring boot project
12:01 Setup the DB and create a schema (Postgres)
17:23 Setup the DB and create a schema (MySQL)
19:16 Connect the application to the database (Postgres)
28:37 Connect the application to the database (MySQL)
34:30 The project we will build
40:23 Hibernate VS Spring data jpa
43:39 Create the first java class
49:56 Transform the Java class to an Entity
52:55 @Id annotation
57:19 @GeneratedValue annotation
01:02:39 Strategy: Auto
01:09:07 @SequenceGenerator annotation
01:14:49 @TableGenerator annotation
01:19:20 @Column annotation overview
01:23:34 Usage of @Colum annotation
01:30:55 @Table annotation
01:34:47 Repository overview
01:38:16 Depp understanding of repositories
01:43:23 Discover the repositories as code
01:46:12 Create the first repository
01:49:14 Create a command line runner bean
01:51:39 Insert some data into the DB
01:56:40 Entity lifecycle
02:05:08 Why creating relationships between entities
02:08:29 The difference between unidirectional and bidirectional relationship
02:12:07 Create the course entity
02:14:16 Create the section entity
02:15:06 Create the lecture entity
02:15:45 Create the resource entity
02:16:59 @ManyToMany relationship
02:25:38 @ManyToOne relationship
02:30:46 One to many between section and lecture
02:33:07 @OneToOne relationship
02:37:48 Check if your code is correct
02:40:23 JPA Inheritance overview
02:43:29 Inheritance over composition
02:46:04 @MappedSuperClass
02:58:49 Create the child classes
03:02:06 Single table strategy
03:08:40 Single table discriminator value
03:02:32 Test single table strategy
03:16:40 Joined table strategy
03:24:52 Table per class strategy
03:30:00 Polymorphic queries
03:33:10 Embedded entities overview
03:37:30 Create embedded id class
03:40:31 Use the embedded ID
03:45:15 Test the embedded ID
03:52:16 Create an embeddable Address class
03:55:45 @Embaddable annotation
03:58:34 Derived queries explained
04:06:50 FindAllBy explained
04:12:36 Playing with findBy method
04:20:42 Add Java faker dependency
04:22:53 Insert fake data
04:28:34 Exercise
04:29:16 Exercise - Solution - Update a field
04:34:39 Update data with @Modifiying
04:40:55 @MamedQueries definition
04:43:30 Select data with named query
04:48:21 Update data with named queries
04:52:36 Specification overview
04:55:05 Extend the repository
04:55:42 Building the specification
05:00:21 Execute the specification