Hibernate-Restrictions用法
Restrictions or用法
criteria.add(Restrictions.isNotNull(“phone”));
criteria.add(Restrictions.ne(“phone”,””));
本来是想用 Restrictions.isEmpty
试了不行
Hibernate-Restrictions用法 Restrictions or用法 criteria.a…
criteria.add(Restrictions.isNotNull(“phone”));
criteria.add(Restrictions.ne(“phone”,””));
本来是想用 Restrictions.isEmpty
试了不行