@Transactional
public class TreeUserGroupDaoImpl extends HibernateDao implements TreeUserGroupDao{
/**
* @功能描述:根据父节点获取子节点
*/
public List
StringBuffer sb = new StringBuffer("select usgEntId, usgName, usgOrder from UserGroup where usgEntId in(");
sb.append(" select uggChildEntId from UserGroupRelation where uggAncestorEntId='"+ parent_node_id +"'");
sb.append(")");
Query query = getSession().createQuery(sb.toString());
return query.list();
}
}
当执行HQL时..程序就执行完了..而且也没跳出来.但程序却出现了警告信息..弄了一个下午了.也不知道啥原因.各位大哥帮忙看下.谢谢了!
警告信息:
2010-11-12 17:09:46,593 [http-8080-2] WARN [org.springside.modules.utils.reflection.ReflectionUtils] - TreeUserGroupDaoImpl$$EnhancerByCGLIB$$91abb55a's superclass not ParameterizedType
[该贴被paladin于2010-11-12 17:45修改过]