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

 

posted @ 2016-11-04 14:31  战旗  阅读(267)  评论(0编辑  收藏  举报