Spring Framework: Spring Data JPA 5 with Hibernate
Developing applications using Spring with JPA and Hibernate
What you'll learn
This course walks through developing applications using Spring with JPA and Hibernate. There is a scaffold application using Spring MVC. The material will be developed using Eclipse/Spring STS and all downloads will be done using Maven.
Table of contents
- Introduction 0m
- Configuration Problems 1m
- Database Overview 1m
- docker-compose.yml 1m
- Docker Download Demo 1m
- docker-compose.yml Demo 3m
- Start Container Demo 1m
- Docker Desktop Demo 1m
- Docker Tips 1m
- Adding Jars with Maven 1m
- Adding Jars Demo 2m
- persistence.xml 1m
- Entity Manager Factory 1m
- Adding MySql Dependency 1m
- MySQL Maven Demo 1m
- application.properties Demo 3m
- Transactional 0m
- Tips and Tricks 1m
- Logging Configuration 1m
- Summary 1m
- Introduction 0m
- Annotations 1m
- Entity Annotations 3m
- Entity Annotations Demo 2m
- Uppercase Name 0m
- Uppercase Name Demo 1m
- Default Columns 1m
- Column Names Demo 3m
- How We Use It 2m
- Service Demo 3m
- Repository Demo 3m
- Registration End-to-end Demo 3m
- Recap 8m
- Join Types 1m
- @OneToMany 1m
- @OneToMany Demo 5m
- @ManyToOne Demo 8m
- Fetch Types 1m
- JPQL 1m
- JPQL Demo 8m
- Projection 2m
- Projection Demo 8m
- Named Queries 1m
- Named Queries Demo 5m
- Summary 1m
- Introduction 0m
- Spring Data JPA 0m
- Registration Repository Demo 2m
- Registration Service Demo 2m
- Registration Controller 2m
- Postman Registration Call Demo 2m
- Spring Data JPA 1m
- Maven Dependencies 1m
- UserRepository 1m
- UserRepository with Spring Data Demo 1m
- RegistrationRepository 1m
- RegistrationRepository with Spring Data Demo 1m
- NamedQueries with Spring Data Demo 2m
- Spring Data JPA Recap 2m
- Summary 1m
Course FAQ
JPA is an abbreviation for Java Persistent API, also called Jakarta Persistence. It's a Java API specification that describes relational data management in applications that use Java Platform - Standard and Enterprise editions.
Hibernate is an object-relational mapping (ORM) tool used in Java. It is a framework for mapping object-oriented domain models to relational databases. Hibernate also assists in searching for and finding data.
JPA is considered standard, while Hibernate isn't. Hibernate uses Session for handling data persistence, while JPA uses Entity Manager. There are many other differences, which we will go over in more detail in the course.
We will be using Eclipse/Spring STS to develop our material, and all downloads will be done using Maven.
Anyone who wants to learn how to build and develop apps!
We don't assume that you have any knowledge of Spring or JPA, but experience with Java and a relational database will help accelerate your learning in this course. If you haven't used Spring MVC before we recommend taking this Spring MVC course prior to taking this course.
You will learn about:
- Spring, JPA, and Hibernate
- The history of Spring and JPA
- The Scaffold App
- Spring MVC
- Configuration of Spring and JPA for development
- How to create your first entity
- Architecture of Spring JPA/Hibernate application