JPA [todo]

Quick TL;Dr

  • JPA (Java Persistence API) is a specification that lets you define which objects should be persisted, and how those objects should be persisted in your Java applications.

  • It is used to persist data between Java objects and relational databases. JPA acts as a bridge between object-oriented domain models and relational database systems thus providing an ORM (object relational mapping) model.

  • Persistence is where data outlives the process which created it.

  • As JPA is a specification it will need a framework that implements it. Popular frameworks include:

    • Hibernate

    • Spring

    • EclipseLink

Resources

Last updated