hibernte中用criteria实现not in功能的方法

hibernte中用criteria实现not in功能的方法:

criteria.add(Restrictions.not(Restrictions.in("id", callbackIds)));

猜你喜欢

转载自hbzwt.iteye.com/blog/1902021