javajpadata-access-layer

Who specifies which (if any) data access layer pattern(s) are used in JPA?


I know some data access layer patterns like:

JPA is a specification that describes management of relational data in javaee applications - https://en.wikipedia.org/wiki/Jakarta_Persistence

As "management" of relational data i imagine CRUD operations.

JPA has to be implemented. These implementations are for example: EclipseLink, Hibernate, Apache OpenJPA etc.

So, when JPA has to be implemented, it describes management of relational data and data are accessed somehow using JPA, who specifies which (if any) data access layer pattern(s) are used? JPA or implementors?


Solution

  • I encourage anyone to seek to understand the pattern that JPA is - it is an interesting one. Not universal (are there any universal data access patterns?), but a terrific tool to have in your toolbox.