hibernate的报错异常

我在写一个新接口的时候运行项目,报错的信息是xxx is not mapped[...........]

这是因为写hibernate的sql语句时,from后面的字段应该是类名而不是表明,因为hibernate只识别类而不是识别表

原文地址:https://www.cnblogs.com/aiwen/p/9263151.html