From the course: Java Persistence with JPA
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Leveraging Object-Relational Mapping (ORM) - Java Tutorial
From the course: Java Persistence with JPA
Leveraging Object-Relational Mapping (ORM)
- [Instructor] Let's talk about object relational mapping, or ORM. Think about ORM like a bridge that connects two totally separate islands allowing people to walk across to get to the other side. In this scenario, Java is one island. The database is the other island, and the people that walk across the bridge to get from one side to the next represent application data. Since you're familiar with Java and relational databases already, you know that Java is an object-oriented programming language, and you also know that relational databases use one or more tables with rows and columns and a unique key identifying each row. Relational databases know nothing about Java object-oriented concepts. However, Java applications and relational databases need to talk to each other. Object relational mapping, or ORM, allows that to happen. Thanks to ORM, Java objects can be mapped to database tables and tables can be mapped to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Exploring the history of JPA3m 48s
-
(Locked)
Leveraging Object-Relational Mapping (ORM)2m 20s
-
(Locked)
Understanding JPA and its benefits2m 10s
-
(Locked)
Demo: Configuring JPA4m 1s
-
(Locked)
Demo: Reviewing JPA annotations4m 11s
-
(Locked)
Challenge: Create simple employee, company, and salary classes3m 38s
-
(Locked)
Solution: Create simple employee, company, and salary classes3m 43s
-
-
-
-
-
-