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)

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…

Contents