Is there a way to select specific column using the JPA 2 Criteria API?
The following is the target SQL Statement:
SELECT column1, column2 FROM MyTableThatHasMultipleColumns
With Hibernate's Criteria API this can be done using Projections, is there an equivalent to the JPA 2 Criteria Specification?