日期:2014-05-20 浏览次数:20647 次
String hql="from Client c where c.clientStatus.csId in (4,5,6) and c.client.usersByUassgin.uid is not null";
------解决方案--------------------
!=null
换成is not null
------解决方案--------------------
String hql="from Client c where c.clientStatus.csId in (4,5,6) and c.client.usersByUassgin.uid is not null";