Java Persistence: Hibernate and JPA Fundamentals
4.4 (2,515 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
12,641 students enrolled

Java Persistence: Hibernate and JPA Fundamentals

A simple-to-follow and easy-to-understand training course on Java Persistence with JPA by Example
4.4 (2,515 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
12,641 students enrolled
Last updated 7/2020
English
English [Auto], French [Auto], 4 more
  • German [Auto]
  • Italian [Auto]
  • Polish [Auto]
  • Romanian [Auto]
Current price: $34.99 Original price: $49.99 Discount: 30% off
23 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 6 hours on-demand video
  • 19 articles
  • 41 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • By the end of this course, you'll be having a strong foundation on Java persistence with Hibernate
  • You'll learn the fundamentals and some of the advanced JPA features for object/relational mapping, querying, caching, performance and concurrency
  • You'll learn how to use Hibernat as a JPA provider
  • You'll get a working experience on Hibernate and JPA project
  • You'll get a working experience on Eclipse IDE, MySQL and HeidiSQL
  • You'll be introduced to JBOSS Logging with Log4j
  • You'll be introduced to Apache Commons Lang
  • You'll learn some of the best practices of Hibernate
Course content
Expand all 69 lectures 06:21:22
+ Understanding object/relational persistence
6 lectures 39:09
Object Relational Mapping
14:01
Installing MySQL
06:33
Installing Eclipse IDE
02:22
Lab - Object Relational Mapping
08:31
Lab Exercise - Object Relational Mapping
00:00
+ Getting Started with Hibernate and JPA Annotations
8 lectures 30:28
What is Hibernate
01:17
Hello World with Hibernate and JPA Annotations
11:11
Lab - Hello World with Hibernate and JPA Annotations
06:18
Lab Exercise - Hello World with Hibernate and JPA Annotations
00:00
Logging
05:41
Lab Exercise - Logging
00:00
Manipulating Objects
06:01
Lab Exercise - Manipulating Objects
00:00
+ Mapping Concepts
20 lectures 55:47
Aggregation and Composition
01:23
Component Mapping
07:44
Lab Exercise - Component Mapping
00:00
Mapping Associations
02:28
Lab Exercise - Mapping Associations
00:00
Cascades
03:47
Lab Exercise - Cascades
00:00
One-To-Many Relationship
08:02
Lab Exercise - One-To-Many Relationship
00:00
One-To-One Relationship
03:05
Lab Exercise - One-To-One Relationship
00:00
Many-To-Many Relationship
04:20
Lab Exercise - Many-To-Many Relationship
00:00
Mapping Enums
04:32
Lab Exercise - Mapping Enums
00:00
Mapping Collections of Value Types
07:11
Lab Exercise - Mapping Collections of Value Types
00:00
Composite Keys
09:44
Lab Exercise - Composite Keys
00:00
+ Getting Started with JPA
33 lectures 04:00:29
What is JPA
02:21
Hibernate as JPA Provider
06:14
Lab Exercise - Hibernate as JPA Provider
1 page
Working with Objects
07:37
Lab Exercise - Working with Objects
1 page
Caching Objects
03:20
Lab Exercise - Caching Objects
1 page
SQL Joins
02:09
Lazy Fetching
07:34
Lab Exercise - Lazy Fetching
1 page
Equals and HashCode
11:24
Lab Exercise - Equals and HashCode
1 page
Query Language
17:59
Lab Exercise - Query Language
1 page
Criteria API (JPA)
35:37
Lab Exercise - Criteria API (JPA)
00:00
Inheritance Mapping and Polymorphic Queries
11:42
Lab Exercise - Inheritance Mapping and Polymorphic Queries
1 page
N + 1 Selects Problem
10:26
Lab Exercise - N + 1 Selects Problem
00:00
Batch Fetching
08:38
Lab Exercise - Batch Fetching
00:00
Merging Detached Objects
14:16
Lab Exercise - Merging Detached Objects
1 page
Optimistic Locking and Versioning
19:48
Lab - Optimistic Locking and Versioning
09:54
Lab Exercise - Optimistic Locking and Versioning
1 page
Isolation Rules
12:55
Lab Exercise - Isolation Rules
00:00
Caching and Object Identity
12:17
Lab Exercise - Caching and Object Identity
00:00
Second Level Caching
46:17
Lab Exercise - Second Level Caching
00:00
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, cachingperformance and concurrency.

Everything important that you're going to experience when you're persisting Java objects with Hibernate is covered during the lectures itself, with the help of animations and stepping through the code. It will allow you to focus more on the concept and the events happening at runtime at the very same time when you're learning a concept, rather than waiting for me go through lengths of coding first before I could show you the same result. And then you practice the same concept with all the source code provided to you after each session that has a lab exercise.

Having said that, I will be first taking you to the level where you feel comfortable enough to start programming with Hibernate. We'll be starting everything from scratch, do the required installations, set up the development environment and learn how to configure logging, for you to be able to see and understand the events taking place at runtime. We'll also learn how to step through our code at runtime, for you to be able to see the behind-the-scene story of Java persistence with Hibernate. And only after that I'll ask you to start coding yourself. So don't you worry even if you know absolutely nothing about persisting Java objects with Hibernate.

If you're asking that what does persisting objects really mean? Don't you worry, we're going to cover even that. So, all you need to learn, enjoy and have a good experience with this course is the basic understanding of Java. That's it, I promise.

So, whether you're a beginner or already have some experience with Hibernate, we're going to cover all the grounds for you to be a confident and competent Hibernate programmer by the end of this course.

Everything we're going to learn in this course, we'll be doing it with examples. And we'll also be discussing the best practices to keep in mind when you're working on real world projects.

And if you're already good at Hibernate and JPA, you'll probably find this course to be useful for filling the gaps in your Hibernate and JPA knowledge.

Please drop me a message, in case you need me for anything to get the best out of this course for you.

And I might add more lectures to this course to make this course even better for you. So I'll appreciate your feedback, on how to improve this course for you.

And yes, to get the best out of this course, especially if you're a beginner, please don't jump through the lectures and complete the Lab Exercise of the previous lecture, before moving on to the next one.

And all the video lectures/sessions are in 16:9 HD, so please watch them in HD.

Who this course is for:
  • Java students who want to learn Java persistence with Hibernate
  • Students who want to learn Java Persistence API (JPA)
  • Working professionals on Java/JavaEE
  • Java/JavaEE trainers
  • Java greenhorns interested in having JPA with Hibernate in their armory