Chapter 17: Introduction to Object-Relational Mapping
Learning Objectives
- Understand how object-relational mapping allows object-oriented web applications to store data in relational databases
- Implement ORM for individual, non-related entities in Spring Boot
- Explain what object-relational mapping means
- Describe what a data layer is, and how it is used in ORM
Key Terminology
Here is a list of key terms that you should make note of as you read through this chapter.
Object-Relational Mapping
- Object-Relation Mapping
- ORM
- Java Persistence API
- JPA
- Data Layer
- object-relational mapper
- Environment Variables
- Hibernate
Accessing Data
- CrudRepository
@Repository
@Entity
@Id
@GeneratedValue
- persistent class
- entity class
Repositories
@Autowired