Tags
Language
Tags
December 2024
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4

Learn Spring Data JPA with Hibernate

Posted By: BlackDove
Learn Spring Data JPA with Hibernate

Learn Spring Data JPA with Hibernate
Genre: eLearning | MP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz
Language: English | Size: 5.01 GB | Duration: 8h 34m


Learn everything about Spring Data JPA using Hibernate as JPA Implementation Provider

What you'll learn
Learn how to use Spring Data JPA in the Spring boot application
Learn how to use JPA annotations to create an entity and map to a database table
Learn 4 Types of Primary key generation strategies - AUTO, IDENTITY, SEQUENCE, and TABLE
Learn how to use the Lombok library to reduce a boilerplate code
Learn Spring Data JPA Repository Interfaces and Its Hierarchy
Learn Steps to use Spring Data JPA Repository
Learn Important Spring Data JPA Repository Methods (CRUD Operations)
Learn how to create Query Methods or Finder Methods using method names
Learn how to create JPQL and Native SQL Queries using @Query Annotation
Learn how to create JPQL and Native SQL Queries With Named Queries
Learn how to implement Pagination and Sorting using Spring Data JPA
Learn JPA/Hibernate one to one mapping using Spring Data JPA
Learn JPA/Hibernate one to Many mapping using Spring Data JPA
Learn JPA/Hibernate Many to Many mapping using Spring Data JPA
Unit Testing Spring Data JPA Repository using @DataJpaTest annotation

Requirements
Basic understanding of JPA and Hibernate
Basic understanding of SQL
Good to know Spring Boot basics
Description
In this course, you will learn how to use Spring Data JPA and its features to reduce a lot of boilerplate code.

Throughout this course, we will build entities (Product, ProductCategory, Order, OrderItems, User, Roles) and repositories for a simple e-commerce application.

The source code and PDF files (class notes) are available for download.

Problem

In typical three-layer Spring boot application architecture, we create three layers - Controller, Service, and DAO/Repository layer.

If we use JPA/Hibernate then write a lot of coding while implementing DAO/Repository layer - We repeat the same code again and again so what will be the solution to reduce the boilerplat code.

Solution

Spring Data JPA provides a solution to reduce a lot of boilerplate code.

We can use Spring Data JPA to reduce the amount of boilerplate code required to implement the data access object (DAO) layer.
Spring Data JPA is not a JPA provider. It is a library/framework that adds an extra layer of abstraction on the top of our JPA provider (like Hibernate). Spring Data JPA uses Hibernate as a default JPA provider.

What you will learn in this course?

- Learn how to build entities and repositories for a simple e-commerce application

- Learn how to use Spring Data JPA in the Spring boot application

- Learn how to use JPA annotations to create an entity and map to a database table

- Learn 4 Types of Primary key generation strategies - AUTO, IDENTITY, SEQUENCE, and TABLE

- Learn how to use the Lombok library to reduce a boilerplate code

- Learn Spring Data JPA Repository Interfaces and Its Hierarchy

- Learn Steps to use Spring Data JPA Repository

- Learn Important Spring Data JPA Repository Methods

- Learn how to create Query Methods or Finder Methods using method names

- Learn how to create JPQL and Native SQL Queries using @Query Annotation

- Learn how to create JPQL and Native SQL Queries With Named Queries

- Learn how to implement Pagination and Sorting using Spring Data JPA

- Learn JPA/Hibernate one to one mapping using Spring Data JPA

- Learn JPA/Hibernate one to Many mapping using Spring Data JPA

- Learn JPA/Hibernate Many to Many mapping using Spring Data JPA

- Unit Testing Spring Data JPA Repository using @DataJpaTest annotation

Note: I will continue adding more content for this course

Tools and Technologies used in this course

Technologies

- Java 11+

- Spring Boot

- Spring Data JPA

- Hibernate

- Lombok

- Maven

- JUnit framework

IDE

- Intellij IDEA

Database

- MySQL database

Who this course is for
Anyone who wants to learn the features of Spring Data JPA using Hibernate and use in Spring boot application
Any Java programmer can take this course to learn everything about Spring Data JPA to reduce boilerplate code in Spring boot application.
This course is very helpful for those who completed my other two popular courses ( Building Real-Time REST APIs with Spring Boot and Testing Spring Boot Application with JUnit and Mockito).