【转】Hibernate数据过滤

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限定查询

posted @ 2011-08-03 10:10  Jamie  阅读(226)  评论(0编辑  收藏  举报