新人上路。
使用
String hql = "from TSysUserRole ur where ur.USER_ID = "+userId+"";
进行查询时报错:could not resolve property: USER_ID of: cn.edu.ccnu.entity.TSysUserRole
改为
String hql = "from TSysUserRole where USER_ID = "+userId+"";
后执行成功
错误原因不明,记录暂行更正方案。
新人上路。
使用
String hql = "from TSysUserRole ur where ur.USER_ID = "+userId+"";
进行查询时报错:could not resolve property: USER_ID of: cn.edu.ccnu.entity.TSysUserRole
改为
String hql = "from TSysUserRole where USER_ID = "+userId+"";
后执行成功
错误原因不明,记录暂行更正方案。