SqlResultSetMapping, as defined in metadata.">
Jakarta Persistence (JPA) Method

String resultSetMapping


The name of a SqlResultSetMapping, as defined in metadata. The named result set mapping is used to interpret the result set of the native SQL query.

Alternatively, the elements NamedNativeQuery.entities, NamedNativeQuery.classes, and NamedNativeQuery.columns may be used to specify a result set mapping. These elements may not be used in conjunction with resultSetMapping.

Default:
""
Since:
Jakarta Persistence (JPA) 1.0