#### 24.1.23. `@EntityResult`

<div class="paragraph">

The [`@EntityResult`](http://docs.oracle.com/javaee/7/api/javax/persistence/EntityResult.html) annotation is used with the [`@SqlResultSetMapping`](#annotations-jpa-sqlresultsetmapping) annotation to map the selected columns to an entity.

</div>
<div class="paragraph">

See the [Entity associations with named native queries](#sql-composite-key-entity-associations_named-query-example) section for more info.

</div>
</div>
<div class="sect3">

results matching ""

    No results matching ""