What is JPA?
“The Java Persistence API is the Java API for the management of persistence and object/relational mapping in Java EE and Java SE environments. It provides an object/relational mapping facility for the Java application developer using a Java domain model to manage a relational database.”
It’s quoted from JSR(Java Specification Request) managed by Java Community Process.
This is just the definition of what’s JPA, let’s recall how we persist data before adopting JPA.