Skip to main content
CF

Hibernate and Java Persistence API (JPA) Fundamentals

7h 24m 19s
English
Paid

Unlock the full potential of JDBC and your data with smart, streamlined techniques in this comprehensive Hibernate course. Begin your journey by understanding the fundamentals of object relational mapping and Hibernate. Dive deep into the basics of Hibernate with expert guidance from Kevin, who will take you through every step.

Course Overview

This course offers an extensive exploration of Hibernate and Java Persistence API (JPA). You will start by learning the essential concepts of object relational mapping and Hibernate, followed by a detailed look into Hibernate basics.

Core Topics Covered

  • Basic Mapping Annotations: Grasp the foundational annotations that are crucial for Hibernate functionality.
  • Mapping Composite and Collection Types: Learn to map complex data structures effectively.
  • Entity Associations: Understand the relationships between different entities to manage your data better.

Advanced Techniques

Hibernate and JPA API

Explore the intricacies of the Hibernate API alongside the JPA API to enhance your data handling techniques.

Advanced Mapping and Configurations

Delve into more complex mapping scenarios and learn how to configure your Hibernate sessions for optimal performance.

Criteria API and Query Languages

Master the Criteria API and discover how to harness the power of Hibernate Query Language (HQL) and Java Persistence Query Language (JPQL) for more precise data retrieval and manipulation.

Benefits of Course Completion

By the end of this video tutorial, you will be equipped to simplify and clarify the persistence tier of your applications using Hibernate and JPA. This valuable skill set will not only boost your productivity but also make future maintenance a breeze.

About the Author: Udemy

Udemy thumbnail

Udemy is the largest open marketplace for online courses on the internet. Founded in 2010 by Eren Bali, Oktay Caglar, and Gagan Biyani and headquartered in San Francisco, the company went public on the Nasdaq in 2021 under the ticker UDMY. The platform hosts well over two hundred thousand courses across software development, IT and cloud, data science, design, business, marketing, and creative skills, taught by tens of thousands of independent instructors. Roughly seventy million learners use it worldwide, and the corporate arm — Udemy Business — supplies a curated subset of that catalog to enterprise customers.

Because Udemy is a marketplace rather than a single editorial publisher, the catalog is uneven by design. The strongest material lives in the long-form, project-based courses authored by working engineers — full-stack JavaScript, React, Node.js, Python data science, AWS, Docker and Kubernetes, mobile development with Flutter and React Native, and cloud certification preparation. The CourseFlix listing under this source is the slice of that catalog that has been mirrored here for offline-friendly viewing, organized by topic and updated as new releases land. Pricing on Udemy itself swings dramatically with the site's near-permanent sales, which is why the platform is best treated as a deep reference catalog: pick instructors with strong reviews and a track record of updating their material rather than buying on the headline price alone.

Watch Online 81 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 81 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Introduction To Hibernate And JPA
All Course Lessons (81)
#Lesson TitleDurationAccess
1
Introduction To Hibernate And JPA Demo
05:22
2
MySQL Installation
07:14
3
Eclipse Installation
02:37
4
How To Access Your Working Files
03:23
5
Chapter Overview
03:24
6
Hibernate Overview
07:41
7
Object Relational Mapping - Part 1
05:22
8
Object Relational Mapping - Part 2
08:48
9
Hibernate Demo
06:16
10
Chapter Overview
02:31
11
Project Setup
06:43
12
Simple Entity Mapping
06:21
13
Building A Session Factory
08:06
14
Hibernate Configuration
07:44
15
Calling Persistence Methods
04:33
16
Chapter Overview
08:22
17
Field Versus Property Access
05:03
18
@Column
06:07
19
Identifiers - Part 1
05:36
20
Identifiers - Part 2
05:31
21
@Transient
02:13
22
@Temporal
08:17
23
@Formula
05:10
24
Basic Value Types - Part 1
05:17
25
Basic Value Types - Part 2
06:09
26
Chapter Overview
05:10
27
Mapping Composite Value Types
08:59
28
Mapping Collections Of Basic Value Types
06:14
29
Mapping A Map Of Basic Values
04:10
30
Mapping A Collection Of Composite Values
06:29
31
Chapter Overview
02:37
32
Entity Associations
07:01
33
Unidirectional One To One Association
07:59
34
Bidirectional One To One Association
06:48
35
Unidirectional One To Many Association
07:07
36
Bidirectional One To Many Association
04:43
37
@JoinTable
07:57
38
Unidirectional Many To Many Association
06:02
39
Bidirectional Many To Many Association
04:33
40
Chapter Overview
04:07
41
Persistence Lifecycle - Part 1
03:21
42
Persistence Lifecycle - Part 2
08:50
43
Saving Entities
03:25
44
Retrieving Entities
07:23
45
Modifying Entities
02:38
46
Removing Entities
03:54
47
Reattaching Detached Entities
03:28
48
Save Or Update
02:52
49
Flushing The Persistence Context
05:17
50
Chapter Overview
05:50
51
JPA Configuration
07:38
52
Saving Entities
05:33
53
Retrieving Entities
04:40
54
Modifying Entities
01:53
55
Removing Entities
02:56
56
Reattaching Detached Entities
05:54
57
Session And Entity Manager Similarities
03:12
58
Chapter Overview
03:34
59
Compound Primary Keys
07:36
60
Compound Join Columns
07:11
61
Enumerations
06:14
62
Mapped Superclass Inheritance
06:51
63
Table Per Class Inheritance - Part 1
06:10
64
Table Per Class Inheritance - Part 2
06:15
65
Single Table Inheritance
06:10
66
Building A Persistence Layer
07:21
67
Views For Complex Queries
02:29
68
Schema Generation
04:50
69
Chapter Overview
04:01
70
Writing Queries
06:11
71
Expressions And Operators
05:19
72
Parameters
05:54
73
Joins
06:27
74
Functions
05:30
75
Named Queries
05:36
76
Lazy Loading
04:32
77
Chapter Overview
04:27
78
Simple Selections
06:36
79
Restrictions
06:42
80
Paging
03:32
81
Wrap Up
02:21
Unlock unlimited learning

Get instant access to all 80 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription

Related courses

Frequently asked questions

What are the prerequisites for enrolling in this course?
Prospective students should have a basic understanding of Java programming and familiarity with relational databases. Knowledge of SQL and experience with Java development environments, such as Eclipse, will be beneficial. The course starts with fundamental concepts like object relational mapping, so prior experience with Hibernate or JPA is not required.
What types of projects or exercises will I build in the course?
Throughout the course, you will work on setting up and configuring Hibernate in a Java application, mapping various data types, and managing entity associations. Practical exercises include setting up a session factory, mapping composite and collection types, and using the Criteria API for data retrieval. By the end, you'll have the skills to implement data handling techniques in real-world applications.
Who is the target audience for this course?
This course is designed for Java developers who want to enhance their data persistence skills using Hibernate and JPA. It is suitable for software engineers, database administrators, and anyone involved in data management who seeks to understand the intricacies of object relational mapping and data handling in Java applications.
How does this course compare in depth and scope to other courses?
This course offers a detailed exploration of both basic and advanced Hibernate and JPA techniques. It covers foundational mapping annotations, entity associations, and advanced concepts like the Criteria API and HQL. Compared to other courses, it provides a comprehensive approach, including a deep dive into mapping complex data structures and configuring Hibernate sessions for performance.
What specific tools or platforms will I use in this course?
You will use Eclipse as your integrated development environment and MySQL for database management. The course includes step-by-step instructions for installing these tools. Eclipse is used to develop and test Java applications, while MySQL serves as the database to experiment with Hibernate's capabilities.
What topics are not covered in this course?
This course does not cover non-relational databases or other Java frameworks beyond Hibernate and JPA. It focuses exclusively on relational data management using Hibernate and JPA APIs. While it provides foundational skills in these areas, it does not delve into Java EE or Spring Framework integrations.
How much time will I need to commit to complete the course?
The course consists of 81 lessons, though the total runtime is not specified. Students should expect to spend additional time on practical exercises and reviewing material to fully grasp the concepts. Depending on your pace, dedicating a few hours per week should allow completion within a few months.