Spring Boot & Spring Data JPA – Complete Course

Buy me a coffee: https://ko-fi.com/boualiali 🌟 Dive into the world of Spring Boot & Spring Data JPA with our latest course! 🚀 Immerse yourself in 13 hours of meticulously crafted content, meticulously prepared with passion and care. 🤓 CONNECT WITH ME: 👨‍💻. Website: https://aliboucoding.com 📸 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 with JWT...   🎬 Spring security - Roles and permissions:    • Spring boot 3 & Spring security 6 - Roles ...   🎬 Spring Boot - Microservices architecture:    • Microservices tutorial with Spring boot 3 ...   🎬 DevOps - Github Actions CI/CD:    • GitHub Actions CI/CD pipeline | Step by St...   🎬 Spring Security - KeyCloak integration:    • Spring boot 3 Keycloak integration for beg...   🎬 DevOps - Docker for Beginners:    • Docker tutorial for beginners | [In 2 Hours]   🎬 Angular - Full course from scratch:    • Angular Tutorial For Beginners | 3 Hours C...   🎬 Websocket - Chat application one to one:    • WebSocket Tutorial with Spring Boot | Buil...   🎬 Spring Security - Two Factors Authentication 2FA (TFA):    • Two Factor Authentication & JWT | Spring b...   🎬 Spring Boot - Swagger UI & OpenApi Decomentation :   • Spring boot 3 - OpenApi Documentation | Sw...   🎬 Spring Boot - Reactive programming & WebFlux:   • Reactive Programming with Spring Boot | A ...   🎬 Spring Data JPA & Hibernate:    • Spring Data JPA - The Introduction course   🎬 Apache Kafka tutorial:    • Apache Kafka Tutorial with Spring Boot Rea...   🎬 Spring batch tutorial:    • Spring batch   🎬 Spring Boot tutorial:    • The ULTIMATE Spring Boot course | 8 HOURS ...   🎬 Apache Kafka tutorial:    • Apache Kafka Tutorial with Spring Boot Rea...   🎬 Ultimate Spring boot tutorial:    • The ULTIMATE Spring Boot course | 8 HOURS ...   🎬 Ultimate Spring Data JPA tutorial:    • The ULTIMATE Guide for Spring Data JPA & H...   #springboot #springdatajpa Table of content: Spring Boot 00:00:32 Intro 00:00:34 Spring core 00:01:04 Spring boot 00:01:07 Spring boot in Action 00:01:28 Spring beans in action 01:11:13 Dependency Inject (DI) 01:28:56 Spring Special Beans 01:42:05 Spring profiles 01:57:11 Spring REST 02:16:31 Spring REST in Action 03:20:08 Spring Data JPA 04:48:18 DTO Pattern 05:22:43 Service Layer 05:55:07 Spring Data Validation 06:22:55 Testing Overview 06:29:08 Spring test in Action 07:02:51 Test Isolation with Mockito 07:33:44 Outro 07:34:31 Intro 07:36:11 Setup postgres DB (Docker) 07:41:16 Setup MySQL DB (Docker) 07:43:43 Create a new spring boot project 07:46:32 Setup the DB and create a schema (Postgres) 07:51:54 Setup the DB and create a schema (MySQL) 07:53:47 Connect the application to the database (Postgres) 08:03:08 Connect the application to the database (MySQL) 08:09:01 The project we will build 08:14:54 Hibernate VS Spring data jpa 08:18:10 Create the first java class 08:24:27 Transform the Java class to an Entity 08:27:26 @Id annotation 08:31:50 @GeneratedValue annotation 08:37:10 Strategy: Auto 08:43:38 @SequenceGenerator annotation 08:49:20 @TableGenerator annotation 08:53:51 @Column annotation overview 08:58:05 Usage of @Colum annotation 09:05:26 @Table annotation 09:09:18 Repository overview 09:12:47 Depp understanding of repositories 09:17:54 Discover the repositories as code 09:20:43 Create the first repository 09:23:45 Create a command line runner bean 09:26:10 Insert some data into the DB 09:31:11 Entity lifecycle 09:39:39 Why creating relationships between entities 09:43:00 The difference between unidirectional and bidirectional relationship 09:46:38 Create the course entity 09:48:47 Create the section entity 09:49:37 Create the lecture entity 09:50:16 Create the resource entity 09:51:30 @ManyToMany relationship 10:00:09 @ManyToOne relationship 10:05:17 One to many between section and lecture 10:07:38 @OneToOne relationship 10:12:19 Check if your code is correct 10:14:54 JPA Inheritance overview 10:18:00 Inheritance over composition 10:20:35 @MappedSuperClass 10:33:20 Create the child classes 10:36:37 Single table strategy 10:43:11 Single table discriminator value 10:37:03 Test single table strategy 10:51:11 Joined table strategy 10:59:23 Table per class strategy 11:04:31 Polymorphic queries 11:07:41 Embedded entities overview 11:12:01 Create embedded id class 11:15:02 Use the embedded ID 11:19:46 Test the embedded ID 11:26:47 Create an embeddable Address class 11:30:16 @Embaddable annotation 11:33:05 Derived queries explained 11:41:21 FindAllBy explained 11:47:07 Playing with findBy method 11:55:13 Add Java faker dependency 11:57:24 Insert fake data 12:03:05 Exercise 12:03:47 Exercise - Solution - Update a field 12:09:10 Update data with @Modifiying 12:15:26 @NamedQueries definition 12:18:01 Select data with named query 12:22:52 Update data with named queries 12:27:07 Specification overview 12:29:36 Extend the repository 12:30:13 Building the specification 12:34:52 Execute the specification