String hql = "select * from Parameter as e " +"where e.ID in (select d.parameterId from RightParameterRelation as d " +"where d.ID in (select c.rightid from RoleRightRelation as c " +"where c.ID in (select b.roleid from GroupRoleRelation as b " +"where b.ID in (select a.usergroupid from UserGroupRelation as a " +"where a.userid='"+userid+"'))))";大家看这个语句有没有问题啊??
我想是可不可以在Hibernate中添加线程机智呢,我想应该是可以的。
如果有什么不妥当的地方请多多的指教
+"where e.ID in (select d.parameterId from RightParameterRelation as d " +"where d.ID in (select c.rightid from RoleRightRelation as c "
+"where c.ID in (select b.roleid from GroupRoleRelation as b "
+"where b.ID in (select a.usergroupid from UserGroupRelation as a "
+"where a.userid='"+userid+"'))))";大家看这个语句有没有问题啊??