IDEA14 hibernate :createQuery(from UserEntity)Can't resolve symbol 'UserEntity' less..
环境:IDEA14
框架:hibernate
问题截图:
问题描述:
Can't resolve symbol 'UserEntity' less..
无法解析符号 'UserEntity' 。
This inspection controls whether the Persistence QL Queries are error-checked
这次检查控制持久性 QL 查询是否错误检查
解决办法:
鼠标移到 提示错误的代码上,左边显示一个红色的灯泡,有个选项里面有个禁用ql检查的,禁用了就好了。
原文解释:http://www.progtown.com/topic1153146-idea-7-swears-on-hibernate-hql.html
Found.
发现。
It is necessary on a line with an error, to the left of a line a sign "bulb", on it you direct - the link on Hibernate QL inspection options, and there among options "disable inspection".
它是必要的在一条线的一个错误,左边的一条线一个标志"灯泡",关于它你直接-上休眠 QL 检查选项的链接和那里选项中"禁用检查"。
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
