uCosminexus Application Server, API Reference Guide
This annotation specifies the entity class in which the query results of the SQL are to be mapped.
The applicable target is the entities element of @SqlResultSetMapping.
The following table lists the elements of @EntityResult:
| Element name | Optional/Required | Element description |
|---|---|---|
| entityClass | Required | This element specifies the result class. |
| fields | Optional | This element specifies the arrays of @FieldResult. |
| discriminatorColumn | Optional | This element specifies the name or optional name of the column for identification within the SELECT clause that determines the type of the entity instance. |
The details of attributes that are supported with Cosminexus JPA provider are as follows:
All Rights Reserved. Copyright (C) 2012, 2013, Hitachi, Ltd.