Example usage for org.hibernate.criterion Subqueries gtSome

List of usage examples for org.hibernate.criterion Subqueries gtSome

Introduction

In this page you can find the example usage for org.hibernate.criterion Subqueries gtSome.

Prototype

public static Criterion gtSome(Object value, DetachedCriteria dc) 

Source Link

Document

Creates a criterion which checks that the value of a literal is greater-than SOME of the values in the subquery result.

Usage

From source file:com.qcadoo.model.api.search.SearchSubqueries.java

License:Open Source License

public static SearchCriterion gtSome(final Object value, final SearchCriteriaBuilder criteria) {
    return new SearchCriterionImpl(
            Subqueries.gtSome(value, ((SearchCriteria) criteria).getHibernateDetachedCriteria()));
}