This annotation specifies the field in which the query results of the SQL are to be mapped.
The applicable target is the field element of @EntityResult.
The following table lists the elements of @FieldResult:
Element name | Optional/Required | Element description |
---|---|---|
name | Required | This element specifies the name of the persistence field or persistence property of the class. |
column | Required | This element specifies the name or optional name of the column of SELECT clause. |
The details of attributes that are supported with Cosminexus JPA provider are as follows: