Hibernate Criteria 常量与方法
MatchMode 包含的常量MatchMode.ANYWHERE 模糊匹配 MatchMode.EXACT 精确匹配MatchMode.START 以某个字符为开头进行匹配MatchMode.END 以某个字符为结尾进行匹配RestrictionsRestrictions.eq 等于Restrictions.allEq 使用Map,使用key/value进行多个等于的比较Restrictions.gt 大于>Restrictions.ge 大于等于>=Restrictions.lt 小于<Restrictions.le 小于等于<=Restrictions.between 对应SQL的BETWEEN子句Restrictions.like 对应SQL的LIKE子句Restrictions.in 对应SQL的in子句Restrictions.add and关系Restrictions.or or关系Restrictions.sqlRestriction SQL限定查询