Class NativeSQLOrder

java.lang.Object
org.hibernate.criterion.Order
com.suncode.pwfl.search.sql.NativeSQLOrder
All Implemented Interfaces:
Serializable

public class NativeSQLOrder extends org.hibernate.criterion.Order
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    NativeSQLOrder(String sql, boolean ascending)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    toSqlString(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery)
     

    Methods inherited from class org.hibernate.criterion.Order

    asc, desc, getPropertyName, ignoreCase, isAscending, isIgnoreCase, nulls, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • NativeSQLOrder

      public NativeSQLOrder(String sql, boolean ascending)
  • Method Details

    • toSqlString

      public String toSqlString(org.hibernate.Criteria criteria, org.hibernate.criterion.CriteriaQuery criteriaQuery) throws org.hibernate.HibernateException
      Overrides:
      toSqlString in class org.hibernate.criterion.Order
      Throws:
      org.hibernate.HibernateException