mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-17 08:35:13 +00:00
HHH-12388 - User Guide and Javadoc typo fixes
Fix inconsistency between User Guide content and the associatted test case
This commit is contained in:
parent
8b11d5ecf9
commit
069222cf58
@ -418,7 +418,8 @@ http://docs.oracle.com/javaee/7/api/javax/persistence/OrderBy.html[`@OrderBy`] a
|
||||
when fetching the current annotated collection, the Hibernate specific
|
||||
https://docs.jboss.org/hibernate/orm/{majorMinorVersion}/javadocs/org/hibernate/annotations/OrderBy.html[`@OrderBy`] annotation is used to specify a *SQL* clause instead.
|
||||
|
||||
In the following example, the `@OrderBy` annotations uses the `CHAR_LENGTH` SQL function to order the `Article` entities by the size of their contents.
|
||||
In the following example, the `@OrderBy` annotations uses the `CHAR_LENGTH` SQL function to order the `Article` entities
|
||||
by the number of characters of the `name` attribute.
|
||||
|
||||
[[collections-customizing-ordered-by-sql-clause-mapping-example]]
|
||||
.`@OrderBy` mapping example
|
||||
|
Loading…
x
Reference in New Issue
Block a user