JPA with Eclipselink. This tutorial explains how to use the Java persistence API. It uses EclipseLink, the reference implementation for the Java Persistence API (JPA). Mapping Java objects to database tables and vice versa is called Object-relational mapping (ORM). The Java Persistence API (JPA) is one possible approach to ORM. Via JPA the developer can map, store, update and retrieve data from re