Spring Data JPA Using Hibernate

Learn and use the most popular ORM Frameworks in easy steps

  • 0.0 (0 Reviews)
  • 0 Students
  • 305 Lessons
  • Bharath Thippireddy

Course Overview

Sample of the reviews:

highly recommended, usually the courses of Professor Bharath are characterized by their extensive explanation in the examples which he himself is writing the code and explaining in detail, you will learn a lot about this subject and enjoy it if you are passionate about Spring and its related topics - Edilberto Ramos Salinas

Good course and clearly explained all topics. - Italo Diego Honorato Soto

A very good course with a very good content which is very well explained - Sergey Kargopolov

---

All source code is available for download

Responsive Instructor - All questions answered within 24 hours

Professional video and audio recordings (check the free previews)

---

Are you a java spring developer interested in mastering Springs powerful and easy to use ORM framework? Are you a java developer who want to create complete data access layer in two simple steps ? then this Spring Data JPA using Hibernate course is for you. It is a complete hand's on course with quizzes, assignments and a mini project at the end.

Spring data JPA removes all the boiler plate coding that we write to create Data Access Layer for our applications while using JPA and ORM tools like Hibernate.  And with the power of spring boot there is zero xml or java based configuration required.

Hibernate is the most popular object-relational mapping framework and the most used JPA providers. Hibernate maps our java classes to database tables.  It offers component mapping,inheritance mapping and supports various associations among objects.

Spring data JPA makes it super easy to use there powerful features of Hibernate by removing all the configuration and use of low level APIs. Spring Data makes it possible to remove the DAO implementations entirely – the interface of the DAO is now the only artifact that needs to be explicitly defined.

Every section in the course is loaded with hands on examples.  You will also work on assignments at the end of each section. You will also work on a mini project at the end of the course.

After taking this class, developers will be able to build faster, more flexible and easier to maintain application persistence layers with Spring Data JPA Using Hibernate.

What Will I Learn?

  • Master the concepts of ORM,Spring Data JPA and Hibernate

  • Perform CRUD operations against a database with two simple steps

  • Configure auto generated IDs for the Primary Key fields

  • Realize the power of Spring Data Finder methods 

  • Load data from database with with out implementing any code or SQL 

  • Learn and use JPQL - Java Persistence Query Language 

  • Execute native sql queries from your Spring Data Application 

  • Use Paging and Sorting   Learn the different types of Hibernate Mappings

  • Implement Component Mapping

  • Implement Inheritance Mapping   Master Associations and use all the four types of associations 

  • See Hibernate caching in action 

  • Learn and manage Transactions 

  • Work on a mini Patient Scheduling application

See more

FAQ

FAQ area empty

Course curriculum

30 chương 305 bài học 12 giờ 58 phút 7 bài học thử miễn phí
Chương 1 Introduction
Chương 2 Software Setup
  • Install Java and STS 2:09
  • Install MySql and MySql Workbench 3:14
  • Launch MySql workbench and create a database 1:43
  • Windows Only -Install Mysql Học thử 4:49
  • Windows Only - Install Mysql Workbench 2:58
  • Spring Data JPA reference documentation 3:00
Chương 3 Troubleshooting and Completed Projects
Chương 4 ORM Basics
  • Java EE Application Layers 2:14
  • ORM (Object Relational Mapping) 1:12
  • What is JPA? 2:39
  • What and why spring data? 3:49
  • The Basics
Chương 5 Simple CRUD operations
  • Usecase Introduction 1:21
  • Create the product table 1:19
  • Create the project 3:04
  • Upgrade 0:47
  • Step 1 Create the Entity 3:59
  • Step 2 Create the Repository 1:53
  • Step 3 Configure the Data Source 2:08
  • Test the Application 2:01
  • Create 3:29
  • Show SQL 2:11
  • Read 3:47
  • Update 2:13
  • Delete 1:29
  • Application Flow 2:28
  • Exists 1:40
  • Count 1:40
  • Show SQL 1:51
  • CRUD Operations
  • Using Spring Data Create Data Access Layer for Customer Domain
Chương 6 Generators
  • Introduction 4:21
  • Create the database schema 0:32
  • Create a Spring Data Project 0:54
  • Create an Entity 1:21
  • Create the repository 1:11
  • Configure the data source 0:34
  • Save Employee 1:58
  • Use the identity generator type 2:39
  • Update the DB Schema for Table Strategy 1:47
  • Configure the Table Strategy 3:52
  • Develop Custom Generator 2:12
  • Configure and Use the Custom Generator 2:57
  • Generators
  • ID Generation
Chương 7 Spring Data Finder Methods
  • Introduction 3:21
  • Setup the Data 2:23
  • Find By Name 3:38
  • Find By Multiple Fields 1:53
  • GreaterThan 2:20
  • Contains 1:52
  • Between 1:48
  • The LIKE 1:59
  • IN 1:50
  • Finder Methods
  • Finder Methods Assignment
Chương 8 Paging and Sorting
  • Introduction 2:24
  • API Update 2:42
  • UPDATE - 3.0 1:15
  • Enable Paging and Sorting 6:38
  • Sort by single property 4:21
  • Sort by multiple properties 1:52
  • Sort by multiple properties and directions 2:47
  • Paging and Sorting in action 2:54
  • Paging and Sorting on a custom finder method 3:21
  • Paging and Sorting
Chương 9 JPQL
  • Introduction 2:58
  • Create the Student Table 0:59
  • Create the Spring Data Project 1:45
  • Create the Entity 3:48
  • Create the Repository 0:44
  • Add some Data 3:10
  • First JPQL 3:53
  • Read Partial Data 3:47
  • Using Named Query Parameters 3:59
  • Find by student scores 4:31
  • Non Select Operations 4:54
  • JPQL
  • JPQL Assignment
Chương 10 Paging and Sorting with JPQL
  • Paging 6:34
  • Sorting 3:18
  • Paging and Sorting
Chương 11 Native SQL Query
  • Introduction 1:24
  • Use native query 3:31
  • Pass named parameter 2:54
Chương 12 Inheritance mapping
  • Introduction 1:42
  • Create the Project 1:57
  • SINGLE_TABLE Strategy 2:07
  • Create the Payment Table 1:20
  • Create the Entity classes 3:22
  • Mark the parent class with annotations 2:38
  • Mark the child class with annotations 1:11
  • Create the repository 0:56
  • Class per hierarchy in action 4:47
  • TABLE_PER_CLASS Strategy 1:00
  • Create the database tables 1:29
  • Update the Entities 2:05
  • Testing 1:43
  • JOINED Strategy 1:29
  • Create the DB tables 1:31
  • Update the entities 1:56
  • Testing 2:14
  • Inheritance Mapping
Chương 13 Component Mapping
  • Introduction 1:31
  • Create the DB Table 0:47
  • Create the Project 1:07
  • Create the Entities 4:40
  • Create the Repository 1:00
  • Testing 3:15
  • Component Mapping
  • Component Mapping
Chương 14 Relationships in Hibernate
  • Introduction 3:20
  • OneToMany Association 2:47
  • Create the database schema 1:42
  • Create the Project 1:26
  • Create Entities 3:44
  • Using @OneToMany 1:30
  • Using @ManyToOne 1:33
  • Create the Repository 0:52
  • Create and run the test 4:21
  • Enable Cascading 2:26
  • Cascading 1:38
  • Saving the foreign key 1:56
  • Better way of handling the foreign key 4:42
  • Read 3:00
  • What is Lazy Loading? 2:10
  • Eager Fetch 0:59
  • Lazy Fetch 1:42
  • Update 2:48
  • Delete 1:32
  • Associations
Chương 15 Many to Many Association
  • Introduction 2:23
  • Create the tables 1:35
  • Create entities 3:20
  • Use the manytomany mapping 4:27
  • Handle the other side of the relationship 0:38
  • Create the repository 0:49
  • Test - Create 5:10
  • Load 3:32
  • Enable eager fetching 1:31
  • ManyToMany
Chương 16 One to One Mapping
  • OneToOne Association 3:14
  • Create the DB Tables 1:15
  • Create the Entities 2:41
  • Annotate the entities 1:11
  • Define the association 1:39
  • Create the Repository 0:43
  • Test OneToOne 3:54
  • One To One Association
Chương 17 Hibernate Caching Mechanism
  • Introduction 2:29
  • Two levels of Cache 3:22
  • First Level Cache In Action 3:13
  • Evict the Object From Cache 3:50
  • Eh Cache 1:58
  • Step 1 - Add Maven Dependency 0:59
  • Upgrade 0:30
  • Step 2 - Configure Cache through properties 3:24
  • Step 3 - Create EhCache XML 3:39
  • Caching Concurrency Strategies 3:12
  • Step 4 - Make entities Cacheable 1:55
  • Second Level Cache in Action 1:36
  • Caching
Chương 18 Transaction Management
  • Introduction 2:31
  • Transaction Management Components 1:46
  • Create the Bank Account Table 1:33
  • Create the project 1:17
  • Create the entity and repository classes 2:45
  • Create the services layer 4:06
  • Test the transfer method 1:47
  • Transactions in action 3:47
  • Transaction Management
Chương 19 Save and Retrieve Files
  • Introduction 2:21
  • Create the Image Table 0:54
  • Create the project 1:06
  • Create the Entity and Repository 2:25
  • Save the file 6:14
  • Retrieve the file 4:34
Chương 20 Calling Stored Procedures
  • Introduction 3:21
  • Create Stored Procs 1:56
  • Invoke with our params 3:46
  • Invoke with input param 3:48
Chương 21 End to End Mini Project
  • Usecase Introduction 2:55
  • Create DB Schema 3:33
  • Create the PatientScheduling Project 1:17
  • Create Entities 6:45
  • Mark Entities with JPA Annotations 1:34
  • Patient and Insurance Component Mapping 0:59
  • Define the Patient and Doctor Many To many Association 5:11
  • Define the Appointment Relationships 2:35
  • Create Repositories 1:55
  • Configure the Data Source 0:31
  • Create Doctor 2:26
  • Create Patient 5:41
  • Create Appointment 5:00
Chương 22 Working with MongoDB
  • Introduction 1:23
  • Install Mongo 3:08
  • Mongo Commands 4:41
  • Steps to work with mongo 1:38
  • Create Project 2:14
  • Create Model 1:39
  • Create the Repository 0:57
  • Test the save method 2:28
  • Configure External MongoDB 3:07
  • Test the findAll and delete methods 2:58
  • Update Assignment 0:38
Chương 23 Composite Primary Keys
  • Introduction 1:46
  • Create Customer Table 0:43
  • Create the Key and Entity Classes 4:29
  • Create repository and datasource configuration 2:09
  • Test 2:51
  • Using Embedded and Embeddable 3:29
  • IdClass vs Embedded 2:15
Chương 24 Clinical Data Collection and Reporting Project
  • Usecase 2:30
  • Setup the database 3:05
  • Create the project 2:05
  • Create the Model 3:16
  • Define Entity Relationships 4:11
  • Create the Repositories 2:00
  • Create the Patient REST Controller 4:33
  • Implement the GET and Save Patient methods 4:08
  • @Table and @JsonIgnoreProperties 3:06
  • Test GET methods 4:55
  • Test save method 2:31
  • Implement save clinical data api 7:30
  • Test save clinical data 1:52
  • Implement Analyze Method 3:45
  • Calculate BMI 6:06
  • Filter the results 3:38
  • Test Analyze Method 2:43
  • Add CORS Support 1:09
Chương 25 Develop React Front End
  • What is React? 5:22
  • Install Node 1:43
  • Install Yarn 1:06
  • Install React CLI 1:37
  • Install Visual Studio Code 1:01
  • Create the project 2:41
  • Create Components 4:01
  • Configure Routing 5:48
  • Start implementing the Home Page 5:44
  • Implement RowCreator 5:22
  • Test Home Page 1:29
  • Implement Add patient 5:02
  • Add Patient - Handle Submit 2:32
  • Add Patient - Toastify 3:49
  • Test Add Patient 2:40
  • Implement the Add Clinical Data Component 3:57
  • Create the HTML Form 4:48
  • Handle Submit 3:57
  • Implement Analyze Component 3:27
  • Create the TableCreator Component 5:36
Chương 26 Deploy to AWS
  • AWS EC2 and S3 Quick Start 2:51
  • Steps 1:28
  • Launch a EC2 Instance 3:51
  • Mac Only - Connecting to EC2 3:17
  • Windows - Use MobaXterm and connect 4:08
  • Setup Java and MySql DB 5:27
  • Upload jar to S3 Bucket 4:12
  • Run and Test 2:50
Chương 27 Dockerize the Clinical App
  • Docker Quick Start 6:48
  • Install Docker 3:58
  • Steps 2:00
  • Launch a MySql Docker Container 6:04
  • Dockerize the Clinical Services APP 5:10
  • Docker in action 5:33
Chương 28 Connecting to multiple databases
  • Introduction 2:16
  • Create the Databases 2:04
  • Project Walk Through 5:46
  • Create the project 1:08
  • Create JPA Entities and Repositories 5:57
  • Configure application properties 3:07
  • Create MySql DataSource Configuration 4:33
  • Configure EMF and TM 4:57
  • Configure H2 DataSource 1:53
  • Use @EnableJPARepositories 2:08
  • Use Custom Properties 2:31
  • Test MySql DataSource 3:57
  • Test H2 DataSource 3:15
  • Switch from H2 to MySql 1:46
Chương 29 E-Dating One More Usecase
  • Introduction 1:09
  • Lombok Introduction 2:55
  • Setup Database 1:59
  • Project Creation Steps 1:22
  • Create Project 1:28
  • Create Entities 3:23
  • Define Relationships 1:56
  • Install Lombok Plugin 2:54
  • Use Lombok Annotations 1:08
  • Create Repositories 1:14
  • Implement Create UserAccount Endpoint 2:31
  • Test 4:59
  • Implement Update Interest 6:21
  • Implement GetAll Users 2:08
  • Delete a interest 2:16
  • JPA Method for Find Matches 3:49
  • REST Endpoint for Find Matches 2:41
  • Test 3:01
Chương 30 Wrap Up
  • Final Quiz
  • Congratulations and Thank You 0:58
  • Bonus Lecture

Requirment

  • Knowledge of Spring Framework and Spring Boot

  • Or Should have completed my Spring Framework in easy steps course

Outcomes

  • Master the concepts of ORM,Spring Data JPA and Hibernate

  • Perform CRUD operations against a database with two simple steps

  • Configure auto generated IDs for the Primary Key fields

  • Realize the power of Spring Data Finder methods

  • Load data from database with out implementing any code or SQL

  • Learn and use JPQL - Java Persistence Query Language

  • Execute native sql queries from your Spring Data Application

  • Use Paging and Sorting

  • Learn the different types of Hibernate Mappings

  • Implement Component Mapping

  • Implement Inheritance Mapping

  • Master Hibernate Associations and implement all the four types of associations

  • See Hibernate caching in action

  • Learn and manage Transactions

  • Work on a mini Patient Scheduling application

Instructor

...
Bharath Thippireddy

0.0

  • ... 0 Student
  • ... 5 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all