Is there a way to select a specific column using the JPA 2 API?
The following is an SQL job:
SELECT column1, column2 FROM MyTableThatHasMultipleColumns
With the Hibernate Criteria API, this can be done using Projections, is there an equivalent specification specification JPA 2?
source
share