Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » criterion » [javadoc | source]
org.hibernate.criterion
public class: Order [javadoc | source]
java.lang.Object
   org.hibernate.criterion.Order

All Implemented Interfaces:
    Serializable

Represents an order imposed upon a Criteria result set
Constructor:
 protected Order(String propertyName,
    boolean ascending) 
    Constructor for Order.
Method from org.hibernate.criterion.Order Summary:
asc,   desc,   ignoreCase,   toSqlString,   toString
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.hibernate.criterion.Order Detail:
 public static Order asc(String propertyName) 
    Ascending order
 public static Order desc(String propertyName) 
    Descending order
 public Order ignoreCase() 
 public String toSqlString(Criteria criteria,
    CriteriaQuery criteriaQuery) throws HibernateException 
    Render the SQL fragment
 public String toString()