Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS CompTIA Security+ Microsoft AZ-900
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Personal Development Mindfulness Personal Transformation Life Purpose Meditation CBT Emotional Intelligence
Web Development JavaScript React CSS Angular PHP Node.Js WordPress Vue JS
Google Flutter Android Development iOS Development React Native Swift Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
Microsoft Power BI SQL Tableau Business Analysis Data Modeling Business Intelligence MySQL Data Analysis Blockchain
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Business Plan Startup Online Business Freelancing Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee
Development Programming Languages JPA

Java Persistence: Hibernate and JPA Fundamentals

A simple-to-follow and easy-to-understand course on Java Persistence API (JPA) with Hibernate
Rating: 4.3 out of 54.3 (2,868 ratings)
14,439 students
Created by Deshraj Singh Kiran
Last updated 3/2021
English
English [Auto], French [Auto], 
30-Day Money-Back Guarantee

What you'll learn

  • By the end of this course, you'll be having a strong foundation on Java Persistence with Hibernate
  • The fundamentals and some of the advanced JPA features for Object/Relational Mapping, Querying, Caching, Performance and Concurrency
  • The fundamentals of First & Second Level Caching, N+1 Selects Problem & Batch Fetching, Optimistic Locking & Versioning
  • The fundamentals of Entity Relationships, Inheritance Mapping & Polymorphic Queries
  • The fundamentals of Querying database using JPQL and Criteria API (JPA)
  • The fundamentals of Handling Long Conversations with Merging Detached Object and Extended Persistence Context
  • The fundamentals of Database Isolation Rules
  • Some of the Best Practices of Java Persistence with Hibernate
Curated for the Udemy for Business collection

Course content

6 sections • 69 lectures • 8h 18m total length

  • Preview02:18

  • Preview07:42
  • Object Relational Mapping
    14:01
  • Installing MySQL
    06:33
  • Installing Eclipse IDE
    02:22
  • Lab - Object Relational Mapping
    07:26
  • Lab Exercise - Object Relational Mapping
    04:00

  • What is Hibernate
    01:17
  • Hello World with Hibernate and JPA Annotations
    11:39
  • Lab - Hello World with Hibernate and JPA Annotations
    06:18
  • Lab Exercise - Hello World with Hibernate and JPA Annotations
    03:02
  • Logging
    05:41
  • Lab Exercise - Logging
    02:32
  • Manipulating Objects
    06:01
  • Lab - Manipulating Objects
    04:44
  • Lab Exercise - Manipulating Objects
    06:03

  • Preview01:23
  • Entities and Value Types
    04:00
  • Component Mapping
    07:44
  • Lab Exercise - Component Mapping
    04:02
  • Mapping Associations
    02:28
  • Cascades
    03:47
  • Lab Exercise - Cascades
    04:58
  • One-To-Many Relationship
    08:02
  • Lab Exercise - One-To-Many Relationship
    03:18
  • orphanRemoval
    05:17
  • One-To-One Relationship
    03:05
  • Derived Identifiers with @MapsId
    04:44
  • Many-To-Many Relationship
    04:20
  • Lab Exercise - Many-To-Many Relationship
    03:49
  • Mapping Enums
    04:32
  • Lab Exercise - Mapping Enums
    00:35
  • Mapping Collections of Value Types
    07:11
  • Lab Exercise - Mapping Collections of Value Types
    00:38
  • Composite Keys
    09:44
  • Foreign-Key in Composite Primary-Key using MapsId
    13:03

  • What is JPA
    03:02
  • Hibernate as JPA Provider
    06:14
  • Lab Exercise - Hibernate as JPA Provider
    00:57
  • Working with Objects
    07:51
  • Lab Exercise - Working with Objects
    22:36
  • Caching Objects
    03:27
  • Lab Exercise - Caching Objects
    01:07
  • SQL Joins
    02:09
  • Lazy Fetching
    07:34
  • Lab Exercise - Lazy Fetching
    00:41
  • Equals and HashCode
    11:24
  • Lab Exercise - Equals and HashCode
    00:46
  • Query Language
    17:59
  • Lab Exercise - Query Language
    10:27
  • Criteria API (JPA)
    35:37
  • Inheritance Mapping and Polymorphic Queries
    11:42
  • Lab Exercise - Inheritance Mapping and Polymorphic Queries
    03:38
  • N + 1 Selects Problem
    10:26
  • Lab Exercise - N + 1 Selects Problem
    00:36
  • Batch Fetching
    08:38
  • Lab Exercise - Batch Fetching
    00:58
  • Merging Detached Objects
    14:16
  • Lab Exercise - Merging Detached Objects
    16:01
  • Optimistic Locking and Versioning
    19:48
  • Lab - Optimistic Locking and Versioning
    09:54
  • Lab Exercise - Optimistic Locking and Versioning
    01:04
  • Isolation Rules
    12:55
  • Lab Exercise - Isolation Rules
    01:45
  • Caching and Object Identity
    12:17
  • Lab Exercise - Caching and Object Identity
    00:48
  • Second Level Caching
    46:17
  • Lab Exercise - Second Level Caching
    02:57

  • Best Practices
    04:09

Requirements

  • Fundamental understanding of Java
  • Prior exposure to SQL will be be helpful

Description

If you’re a Java programmer who wants to learn the fundamentals and some of the advanced topics of Java Persistence with Hibernate, then you’re the one this course is designed for.

We'll be working with Hibernate 4.3.5.Final (and applicable updates for Hibernate 5.0), and using Hibernate as a JPA Provider for the most part of this course. You'll be learning the fundamentals and some of the advanced JPA features for Object/Relational Mapping, Querying, Caching, Performance and Concurrency.

Who this course is for:

  • Java developers who want to learn Java persistence API (JPA) with Hibernate
  • Professionals working on Java/JavaEE/Spring technologies

Featured review

Surya Akasam
Surya Akasam
39 courses
1 review
Rating: 5.0 out of 59 months ago
This course is very concise and constructive. I like the way the topics were organized by the instructor and the fact that there is no time wasted in writing every code snippet from scratch every time. The legacy concepts like native JDBC and vanilla Hibernate usages are briefly explained first, followed by a deep-dive into the Hibernate with JPA usage. Recommended!

Instructor

Deshraj Singh Kiran
Trainer and Consultant at MavenEdge
Deshraj Singh Kiran
  • 4.3 Instructor Rating
  • 2,868 Reviews
  • 14,439 Students
  • 1 Course

I am a Bachelor of Technology (B.Tech) from Indian Institute of Technology (IIT) with around 9 years of application development experience (as of April, 2016). I have been developing applications of various complexities using Java-based technologies and frameworks such as Java/JavaEE, Spring, Spring MVC, Spring WebFlow, Spring Security, Spring Boot, Portlet, Spring Portlet MVC, Struts, Hibernate, DWR, Lucene, Android, MEAN stack and Hadoop. 

Besides being a trainer at MavenEdge, I am also a working Software Consultant. I've also been a corporate trainer on Java technologies and frameworks. 

I've worked on Tomcat, Glassfish, Liferay Portal, Jenkins for application development, deployment and release management. 

I've worked more on Maven than Gradle and Ant. And in the world of relational database management systems, I've worked mostly on MySQL. 

For test driving my code I've used JUnit, EasyMock, Mockito frameworks. 

Besides working on the server-end, I've also explored the front-end world of JavaScript, jQuery, Backbone and Require JS. 

I've worked on projects on Android and MEAN stack. I've also been the Architect for some of the projects I've worked on. 

I took some Oracle certifications as well along the way.

Currently, I am working on Scalable Data Science projects.

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Impressum Kontakt
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.