could not resolve property问题(ssh框架)

could not resolve property不能解析属性问题,

刚开始把hql语句中的“from User user where user.user_name = '”+user.getusername()+"'";中的user.user_name写了数据库的命名user_name

而其实他应该是entity实体类中的user.username

作者:战旗 内容声明: 本内容属自己学习使用 ,若有抄袭情邮件(zhanqi3712@qq.com)告知 ,本人会尽快删除
原文地址:https://www.cnblogs.com/liuyun-10/p/6030195.html