Save on skills. Reach your goals from $11.99

Master Spring Data JPA with Hibernate: E-Commerce Project

Last updated on June 5, 2024 10:20 pm
Category:

Description

What you’ll learn

  • Learn How to Use Spring Data JPA in the Spring Boot Application
  • Build Domain Model Relationships for E-commerce Project Using Hibernate ORM Framework
  • 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
  • Learn JPA Cascade Types and Fetch Types (EAGER and LAZY)
  • Learn to implement Search/Filter Functionality
  • Learn Transaction Management with Spring Data JPA and Spring Boot
  • Unit Testing Spring Data JPA Repository using @DataJpaTest annotation

This course supports both Spring Boot 2 and Spring Boot 3.

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 domain model entities (Product, ProductCategory, Order, OrderItems, User, Roles) and repositories for a simple e-commerce application.

Problem:

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

If we use JPA/Hibernate and 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 boilerplate 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 top of our JPA provider (like Hibernate). Spring Data JPA uses Hibernate as a default JPA 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

  • Learn JPA Cascade Types and Fetch Types (EAGER and LAZY)

  • Learn building domain model relationships for e-commerce projects using Hibernate ORM framework

  • Learn to implement Search/Filter functionality

  • Learn Transaction Management with Spring Data JPA and Spring Boot

  • Unit Testing Spring Data JPA Repository using @DataJpaTest annotation

Tools and Technologies used

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).

Course content

  • Introduction5 lectures • 12min
  • Introduction
  • Setting Up Your Development Environment6 lectures • 50min
  • Setting Up Your Development Environment
  • Getting Started with Spring Data JPA7 lectures • 31min
  • Getting Started with Spring Data JPA
  • Create and Setup Spring Boot Project with Spring Data JPA10 lectures • 1hr 4min
  • Create and Setup Spring Boot Project with Spring Data JPA
  • Spring Data JPA Repository Interfaces and It’s Hierarchy5 lectures • 22min
  • Spring Data JPA Repository Interfaces and It’s Hierarchy
  • Important Spring Data JPA Repository Methods12 lectures • 1hr 7min
  • Important Spring Data JPA Repository Methods
  • Query Methods or Finder Methods15 lectures • 1hr 41min
  • Query Methods or Finder Methods
  • JPQL and Native SQL Queries using @Query Annotation6 lectures • 39min
  • JPQL and Native SQL Queries using @Query Annotation
  • Creating Named Queries5 lectures • 37min
  • Creating Named Queries
  • Pagination and Sorting6 lectures • 51min
  • Pagination and Sorting

Reviews

There are no reviews yet.

Be the first to review “Master Spring Data JPA with Hibernate: E-Commerce Project”

Your email address will not be published. Required fields are marked *