- Published on
JPA Projection is a way to retrieve selected fields out of all available fields of table/entity. You will get multiple way to select limited fields from multiple or all the fields available. This article have multiple way to archive projection like open and close projection with interface, projection with class and records, projection with derived query, native and non-native query.