24.1.61. @OrderBy

<div class="paragraph">

The [`@OrderBy`](http://docs.oracle.com/javaee/7/api/javax/persistence/OrderBy.html) annotation is used to specify the entity attributes used for sorting when fetching the current annotated collection.

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

See the [`@OrderBy` mapping](#collections-unidirectional-ordered-list) section for more info.

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

results matching ""

    No results matching ""