|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.hibernate.expression.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 |
String |
toSqlString(SessionFactoryImplementor sessionFactory,
Class persistentClass,
String alias)
Render the SQL fragment |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Order(String propertyName, boolean ascending)
Method Detail |
public String toSqlString(SessionFactoryImplementor sessionFactory, Class persistentClass, String alias) throws HibernateException
sessionFactory
- persistentClass
- alias
-
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 |