Master Hibernate and JPA with Spring Boot in 100 Steps
2024-11-25
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English (US) | Size: 9.14 GB | Duration: 14h 0m
2024-11-25
MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz
Language: English (US) | Size: 9.14 GB | Duration: 14h 0m
Learn Hibernate, JPA (Java Persistence API) and Spring Data JPA using Spring and Spring Boot
What you'll learn
You will learn the basics of JPA and Hibernate - Entities, Relationships, Inheritance Mappings and Annotations
You will understand approaches to querying data using JPA and Hibernate - JPQL, Criteria API and Native Queries
You will understand JPA and Hibernate Relationships in depth - One to One, Many to One and Many to Many
You will use a variety of Spring Boot Starters - Spring Boot Starter Web, Starter Data Jpa, Starter Test
You will learn the basic of performance tuning your JPA application with Hibernate - Solve N+1 Queries Issue
You will learn the basics of caching - First Level Cache and Second Level Cache with EhCache
You will understand the basics of Spring Data JPA and Spring Data REST
Requirements
You have an attitude to learn while having fun :)
You have programming experience with Java
We will help you get started with Spring and Spring Boot
Description
Hibernate is the most popular Java ORM framework. Almost every Real World Project today uses JPA and Hibernate in combination with Spring Boot and Spring Data JPA.Do you want to Learn JPA & Hibernate and use them in combination with Spring Boot and Spring Data JPA? Do you want to Learn about Entities, Relationships, Entity Manager, JPQL, Native Queries, Inheritance Hierarchies, Criteria API, Transaction Management, Caching and Performance Tuning with JPA & Hibernate in combination with Spring Data JPA and Spring Data REST? WHAT OUR LEARNERS ARE SAYING:5 STARS - I really loved this course. The instructor explains features of JPA and Hibernate clearly and also very deeply. Especially I liked explanation of the transaction management what I didn't seen in other courses.By the way this course helped me to develop the persistence layer of a commercial application for my customer.5 STARS - Absolute brilliant course, I was struggling using books but this course helped me understand using code to demonstrate how Hibernate and JPA work. Each video builds on the next and is at a pace that does not overwhelm you. I thoroughly recommend this course if you need to improve your Hibernate and JPA knowledge.5 STARS - It is really state of the art and how spring boot and hibernate are used nowadays! This course was very helpful in my new job, since in the project we use spring boot and hibernate. Thank you!5 STARS - This course exceeded my expectations, I thought I knew about hibernate but I discovered I didn't, I really recommend this course.5 STARS - Thanks Ranga for the wonderful course on Hibernate and JPA with Spring Boot! It's a long course and well worth it. Keep up the great work!COURSE OVERVIEWHibernate is the most popular implementation of JPA. It was the most popular ORM framework option before JPA emerged and it provides additional features on top of JPA. We will use Hibernate as the JPA implementation in this course.The Java Persistence API provides Java developers with an api for mapping java objects to relational data. In this course, you will learn about the Hibernate, JPA API, JPQL (Java Persistence query language), Java Persistence Criteria API and how you can perform ORM (Object Relational Mapping) with JPA and Hibernate. During this courseYou will learn the basics of JPA and Hibernate - Entities, Relationships, Inheritance Mappings and AnnotationsYou will understand approaches to querying data using JPA and Hibernate - JPQL, Criteria API and Native QueriesYou will understand JPA and Hibernate Relationships in depth - One to One, Many to One and Many to ManyYou will use a variety of Spring Boot Starters - Spring Boot Starter Web, Starter Data Jpa, Starter TestYou will learn the basic of performance tuning your JPA application with Hibernate - Solve N+1 Queries Issue. You will learn the basics of caching - First Level Cache and Second Level Cache with EhCacheYou will understand the basics of Spring Data JPA and Spring Data RESTCOURSE HIGHLIGHTSJourney from JDBC To JPAStep01 - Setting up a project with JDBC, JPA, H2 and Web DependenciesStep02 - Launching up H2 ConsoleStep03 - Creating a Database Table in H2Step04 - Populate data into Person TableStep05 - Implement findAll persons Spring JDBC Query MethodStep06 - Execute the findAll method using CommandLineRunnerStep07 - A Quick Review - JDBC vs Spring JDBCStep08 - Whats in the background? Understanding Spring Boot AutoconfigurationStep09 - Implementing findById Spring JDBC Query MethodStep10 - Implementing deleteById Spring JDBC Update MethodStep11 - Implementing insert and update Spring JDBC Update MethodsStep12 - Creating a custom Spring JDBC RowMapperStep13 - Quick introduction to JPAStep14 - Defining Person EntityStep15 - Implementing findById JPA Repository MethodStep16 - Implementing insert and update JPA Repository MethodsStep17 - Implementing deleteById JPA Repository MethodStep18 - Implementing findAll using JPQL Named QueryJPA/Hibernate in DepthStep01 - Create a JPA Project with H2 and Spring BootStep02 - Create JPA Entity CourseStep03 - Create findById using JPA Entity ManagerStep04 - Configuring application.properties to enable H2 console and additional loggingStep05 - Writing Unit Test for findById methodStep06 - Writing a deleteByID method to delete an EntityStep07 - Writing Unit Test for deleteById methodStep08 - Writing a save method to update and insert an EntityStep09 - Writing Unit Test for save methodStep10 - Quick Review and Debugging TipsStep11 - Playing with Entity ManagerStep12 - Entity Manager Methods - clear and detachStep13 - Entity Manager Methods - refreshStep14 - A Quick Review of Entity ManagerStep15 - JPQL - BasicsStep16 - JPA and Hibernate Annotations - @TableStep17 - JPA and Hibernate Annotations - @ColumnStep18 - JPA and Hibernate Annotations - @UpdateTimestamp and @CreationTimestampStep19 - JPA and Hibernate Annotations - @NamedQuery and @NamedQueriesStep20 - Native Queries - BasicsStep21 - Entities and Relationships - An overviewStep22 - Defining Entities - Student, Passport and ReviewStep23 - Introduction to One to One RelationshipStep24 - OneToOne Mapping - Insert Student with PassportStep25 - OneToOne Mapping - Retrieving Student with Passport and Eager FetchStep26 - OneToOne Mapping - Lazy FetchStep27 - Session vs TransactionStep28 - OneToOne Mapping - Bidirectional Relationship - Part 1Step29 - OneToOne Mapping - Bidirectional Relationship - Part 2Step30 - ManyToOne Mapping - Designing the databaseStep31 - ManyToOne Mapping - Retrieving and inserting Reviews for CourseStep32 - ManyToOne Mapping - Generalizing Insert ReviewsStep33 - ManyToOne Mapping - Wrapping upStep34 - ManyToMany Mapping - Table DesignStep35 - ManyToMany Mapping - Adding Annotations on EntitiesStep36 - ManyToMany Mapping - Fixing two join tables problemStep37 - ManyToMany Mapping - Customizing the Join TableStep38 - ManyToMany Mapping - Insert Data and Write Join QueryStep39 - ManyToMany Mapping - Retrieve Data using JPA RelationshipsStep40 - ManyToMany Mapping - Insert Student and CourseStep41 - Relationships between JPA Entities - A summaryStep42 - Introduction to Inheritance Hierarchies and MappingsStep43 - JPA Inheritance Hierarchies and Mappings - Setting up entitiesStep44 - JPA Inheritance Hierarchies and Mappings - Setting up a RepositoryStep45 - JPA Inheritance Hierarchies and Mappings - Single TableStep46 - JPA Inheritance Hierarchies and Mappings - Table Per ClassStep47 - JPA Inheritance Hierarchies and Mappings - JoinedStep48 - JPA Inheritance Hierarchies and Mappings - Mapped Super ClassStep49 - JPA Inheritance Hierarchies and Mappings - How to Choose?Step50 - JPQL - Courses without StudentsStep51 - JPQL - Courses with atleast 2 Students and order byStep52 - JPQL - Courses like 100 StepsStep53 - JPQL - Using JoinsStep54 - Criteria Query - Retrieving all coursesStep55 - Criteria Query - Courses like 100 StepsStep56 - Criteria Query - Courses without StudentsStep57 - Criteria Query - Using JoinsStep58 - Introduction to Transaction ManagementStep59 - Transaction Management - ACID PropertiesStep60 - Understanding Dirty, Phanthom and Non Repeatable ReadsStep61 - Understand 4 Isolation LevelsStep62 - Choosing between Isolation LevelsStep63 - Implementing Transaction Management - 3 Things to DecideStep64 - Introduction to Spring Data JPAStep65 - Testing the Spring Data JPA Repository with findById.Step66 - Spring Data JPA Repository - CRUD MethosdStep67 - Sorting using Spring Data JPA RepositoryStep68 - Pagination using Spring Data JPA Repository Step69 - Custom Queries using Spring Data JPA Repository Step70 - Spring Data RESTStep71 - Introduction to CachingStep72 - Hibernate and JPA Caching - First Level CacheStep73 - Hibernate and JPA Caching - Basics of Second Level Cache with EhCacheStep74 - Hibernate and JPA Caching - Second Level Cache Part 2Step75 - Hibernate Tips - Hibernate Soft Deletes - @SQLDelete and @WhereStep76 - Hibernate Soft Deletes - Part 2Step77 - JPA Entity Life Cycle MethodsStep78 - Using Embedded and Embeddable with JPAStep79 - Using Enums with JPAStep80 - JPA Tip - Be cautious with toString method implementationsStep81 - JPA Tip - When do you use JPA?Step82 - Performance Tuning - Measure before TuningStep83 - Performance Tuning - IndexesStep84 - Performance Tuning - Use Appropriate CachingStep85 - Performance Tuning - Eager vs Lazy FetchStep86 - Performance Tuning - Avoid N+1 ProblemsHibernate Tips & TricksWhen does Hibernate send updates to the database?When do we need @Transactional in an Unit Test?Do read only methods need a transaction?Why do we use @DirtiesContext in an Unit Test?How to connect to a different database with Spring Boot?How do you approach designing great applications with JPA?Good Practices for developing JPA ApplicationsStart Learning Now. Hit the Enroll Button!
Who this course is for:
You want to learn the basics of JPA and Hibernate, You want to understand how to build data layer of a web application