看这篇回答
https://stackoverflow.com/questions/9954590/hibernate-error-querysyntaxexception-users-is-not-mapped-from-users
在HQL里 查询语句应该是对应model的类名,而不是数据库里的表名
看这篇回答
https://stackoverflow.com/questions/9954590/hibernate-error-querysyntaxexception-users-is-not-mapped-from-users
在HQL里 查询语句应该是对应model的类名,而不是数据库里的表名