Example usage for org.hibernate.criterion Order subclass-usage

List of usage examples for org.hibernate.criterion Order subclass-usage

Introduction

In this page you can find the example usage for org.hibernate.criterion Order subclass-usage.

Usage

From source file com.belle.yitiansystem.merchant.service.impl.MerchantsService.java

/**
 * ??
 * @author zhuang.rb
 *
 */
class GBKOrder extends Order {

From source file com.gisgraphy.hibernate.criterion.DistanceOrder.java

/**
 * A criteria that sort by distance for better performance you can use
 * {@link ProjectionOrder} if a projection for distance calculation have been
 * added
 * 
 * @author <a href="mailto:david.masclet@gisgraphy.com">David Masclet</a>

From source file com.gisgraphy.hibernate.criterion.NativeSQLOrder.java

/**
 * @author <a href="mailto:david.masclet@gisgraphy.com">David Masclet</a> An
 *         hibernate order for SQL
 */
public class NativeSQLOrder extends Order {
    /*

From source file com.gisgraphy.hibernate.criterion.ProjectionOrder.java

/**
 * A criteria that sort by an already added projection
 * 
 * @author <a href="mailto:david.masclet@gisgraphy.com">David Masclet</a>
 */
public class ProjectionOrder extends Order {

From source file com.npower.dm.hibernate.OrderNullSupport.java

/**
 * @author Zhao DongLu
 * @version $Revision: 1.2 $ $Date: 2008/08/26 08:45:21 $
 */
public class OrderNullSupport extends Order {

From source file com.qrmedia.commons.test.hibernate.criterion.ComparableOrder.java

/**
 * A wrapper around a Hibernate <code>Order</code> that supports a &quot;natural&quot;
 * (i.e. non-instance) equality. Using these classes,
 * <pre>
 *   <code>new ComparableOrder(Order.asc("foo")).equals(
 *       new ComparableOrder(Order.asc("foo")))</code>

From source file ispyb.server.common.util.ejb.CastDecimalOrder.java

/**
 * Represents an order imposed upon a Criteria result set. It allows to cast a string as a decimal
 * @author BODIN
 *
 */
public class CastDecimalOrder extends Order {

From source file org.gofleet.openLS.ddbb.order.StDistance.java

/**
 * @author marias
 * 
 */
public class StDistance extends Order {
    private static final long serialVersionUID = -3189851876865663801L;

From source file org.jasig.ssp.util.hibernate.OrderAsString.java

/**
 * Workaround for the fact that you can't use SQL functions to qualify
 * property names passed to {@link Order} criteria. E.g. in HQL you can do like
 * <code>order by (cast foo as string)</code>, but you can't when using the
 * {@link Criteria} API.
 */

From source file org.openmrs.module.openhmis.commons.api.CustomizedOrderBy.java

/**
 * Allows for ordering hibernate queries by some customized sql (for example, a database function). Adapted from:
 * http://blog.hexican.com/2012/05/how-to-customize-hibernate-order-by/
 */
public class CustomizedOrderBy extends Order {
    private String sqlExpression;