常见的Restrictions用法

Restrictions.eq  = 

Restrictions.ne <>

Restrictions.allEq  利用Map来进行多个等于的限制 

Restrictions.gt  > 

Restrictions.ge  >= 

Restrictions.lt  

Restrictions.le  <= 

Restrictions.between  BETWEEN

Restrictions.like  LIKE

Restrictions.in  in

Restrictions.and  and

Restrictions.or or

Restrictions.sqlRestriction 

你可能感兴趣的:(Restrictions)