日期:2014-05-17 浏览次数:20618 次
from user_table where userid not in(select user_role_id from role where roleid=1) ------解决方案--------------------select o from User o inner join o.roles r where r <> :role这样的?