hibernate的Restrictions

来源:互联网 发布:阿迪达斯抢鞋软件 编辑:程序博客网 时间:2024/05/21 00:14
 
方法
说明
Restrictions.eq
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
SQL限定查询
原创粉丝点击