From the course: Java Persistence API (JPA): 1 The Basics
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Object relational mapping (ORM) - Java Tutorial
From the course: Java Persistence API (JPA): 1 The Basics
Object relational mapping (ORM)
- [Instructor] Object relational mapping, ORM, is the bridge that connects two totally separate islands allowing them to communicate and share information. The two islands in question are Java and relational databases. Let's learn how relational databases and object-oriented programming languages work. And more about object-relational mapping, which bridges the divide between relational databases and object-oriented programming languages. Data is organized in a relational database using one or more tables with columns and a unique key identifying each row. Rows in the table represent instances of that type of data. Rows in a table can be linked to rows in another table by adding a column for the unique key of the linked row. This column is known as a foreign key. Relational databases store data in tables and columns, but an object-oriented programming language like Java doesn't know about tables and columns. Object-oriented programming languages organize code in objects and classes…
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.