JPA Annotation Attribute
in javax.persistence.EntityResult

FieldResult[] fields default {}


Maps the columns specified in the SELECT list of the query to the properties or fields of the entity class.
Since:
JPA 1.0