|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.criterion.Order
Represents an order imposed upon a Criteria result set
Constructor Summary | |
protected |
Order(String propertyName,
boolean ascending)
Constructor for Order. |
Method Summary | |
static Order |
asc(String propertyName)
Ascending order |
static Order |
desc(String propertyName)
Descending order |
Order |
ignoreCase()
|
String |
toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected Order(String propertyName, boolean ascending)
Method Detail |
public String toString()
public Order ignoreCase()
public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
HibernateException
public static Order asc(String propertyName)
propertyName
-
public static Order desc(String propertyName)
propertyName
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |