Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.criterion |
A framework for defining restriction criteria and order criteria.
|
Modifier and Type | Method and Description |
---|---|
Criteria |
Criteria.addOrder(Order order)
Add an
ordering to the result set. |
Modifier and Type | Method and Description |
---|---|
Order |
Property.asc()
Creates an ascending ordering for this property
|
static Order |
Order.asc(String propertyName)
Ascending order
|
Order |
Property.desc()
Creates a descending ordering for this property
|
static Order |
Order.desc(String propertyName)
Descending order.
|
Order |
Order.ignoreCase()
Should this ordering ignore case? Has no effect on non-character properties.
|
Order |
Order.nulls(NullPrecedence nullPrecedence)
Defines precedence for nulls.
|
Modifier and Type | Method and Description |
---|---|
DetachedCriteria |
DetachedCriteria.addOrder(Order order)
Adds an ordering
|
Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.