6.3.6 Elements below sql-result-set-mapping

Organization of this subsection
(1) <sql-result-set-mapping>

(1) <sql-result-set-mapping>

The SQL result set mapping defined by the sql-result-set-mapping element applies to the persistence unit.

The defined SQL result set mapping is added to the SQL result set mapping defined using annotations. If SQL result set mapping with the same name is defined in the annotation, the SQL result set mapping defined by the sql-result-set-mapping element of the O/R mapping file is overwritten.

For details about the functionality and attributes, see section 2.7 javax.persistence package in the manual uCosminexus Application Server API Reference Guide.

The following table lists the specifiable attributes:

Table 6-11 Attributes of <sql-result-set-mapping>

Attribute nameTypeOptional/RequiredDescription
namexsd:stringRequiredSee the name attribute in 2.7.57 @SqlResultSetMapping in the manual uCosminexus Application Server API Reference Guide.