History

to store the data from objects into tables and vice-versa, methods:

  • Earlier approaches involved writing SQL Queries:
    • plain JDBC
    • to cut down boilerplate code: JOOQ, Spring JdbcTemplate, QueryDSL, and MyBatis were popular approaches
  • JPA evolved as a result of a different thought process: How about mapping tables/relationships directly to objects?
    • this Mapping is also called Object Relational Mapping (ORM). Before JPA, ORM was the term more commonly used to refer to these frameworks. That’s one of the reasons, Hibernate is called an ORM framework
  • Spring Data Repository - abstracts it even further

Terminology

Other