org.hibernate.hql.ast.QuerySyntaxException: XX is not mapped [from XX]
问题:org.hibernate.hql.ast.QuerySyntaxException: XX is not mapped [from XX]解决办法:1.看是否忘记将hibernate的映射文件添加到Hibernate.cfg.xml(使用Hibernate时)或者applicationContext.xml中2.检查表中的字段和映射文件中的字段是否一一对应3.检查字段名是否使用了数...
原创
2019-08-02 15:19:00 ·
272 阅读 ·
0 评论