could not resolve property不能解析属性问题,
刚开始把hql语句中的“from User user where user.user_name = '”+user.getusername()+"'";中的user.user_name写了数据库的命名user_name
而其实他应该是entity实体类中的user.username
could not resolve property不能解析属性问题,
刚开始把hql语句中的“from User user where user.user_name = '”+user.getusername()+"'";中的user.user_name写了数据库的命名user_name
而其实他应该是entity实体类中的user.username