本文整理了Java中org.hibernate.criterion.Property.ltAll()
方法的一些代码示例,展示了Property.ltAll()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Property.ltAll()
方法的具体详情如下:
包路径:org.hibernate.criterion.Property
类名称:Property
方法名:ltAll
[英]Creates a less-than-all sub-query expression for this property. I.e., [prop] < ALL [subquery]
[中]为此属性创建一个小于所有子查询表达式。也就是说,[prop]<ALL[subquery]
代码示例来源:origin: org.grails/grails-datastore-gorm-hibernate-core
/**
* Creates a subquery criterion that ensures the given property is less than all the given returned values
*
* @param propertyName The property name
* @param propertyValue The property value
* @return A Criterion instance
*/
public org.grails.datastore.mapping.query.api.Criteria ltAll(String propertyName,
@SuppressWarnings("rawtypes") QueryableCriteria propertyValue) {
addToCriteria(Property.forName(propertyName).ltAll(convertToHibernateCriteria(propertyValue)));
return this;
}
代码示例来源:origin: org.grails/grails-hibernate
/**
* Creates a subquery criterion that ensures the given property is less than all the given returned values
*
* @param propertyName The property name
* @param propertyValue The property value
* @return A Criterion instance
*/
public org.grails.datastore.mapping.query.api.Criteria ltAll(String propertyName,
@SuppressWarnings("rawtypes") QueryableCriteria propertyValue) {
addToCriteria(Property.forName(propertyName).ltAll(getHibernateDetachedCriteria(propertyValue)));
return this;
}
代码示例来源:origin: org.grails/grails-datastore-gorm-hibernate-core
@Override
public Criterion toHibernateCriterion(AbstractHibernateQuery hibernateQuery, Query.LessThanAll criterion, String alias) {
DetachedCriteria detachedCriteria = toHibernateDetachedCriteria(hibernateQuery,criterion.getValue());
return Property.forName(getPropertyName(criterion, alias)).ltAll(detachedCriteria);
}
});
内容来源于网络,如有侵权,请联系作者删除!