org.hibernate.hql.internal.ast.QuerySyntaxException: XXX is not mapped [from XXX]
2016-11-18 17:54
811 查看
![](https://oscdn.geek-share.com/Uploads/Images/Content/201603/899229cfab2c02d614490485cabb781b.gif)
![](https://oscdn.geek-share.com/Uploads/Images/Content/201603/899229cfab2c02d614490485cabb781b.gif)
原来这个from 后面加的,不是表名,而是确实真的是持久类的名字。
什么配置文件字段和表内容不对应都特么扯淡!!
表里面的内容不需要全部写到配置文件,需要什么就写什么
相关文章推荐
- Hibernate查询报错:org.hibernate.hql.internal.ast.QuerySyntaxException: XXX is not mapped
- org.hibernate.hql.ast.QuerySyntaxException: xxx is not mapped [from xxx]
- org.hibernate.hql.ast.QuerySyntaxException: XXX is not mapped [from XXX]
- org.hibernate.hql.ast.QuerySyntaxException: xxx is not mapped [from xxx]
- org.hibernate.hql.internal.ast.QuerySyntaxException: Admin is not mapped [from Admin where username=
- org.hibernate.hql.internal.ast.QuerySyntaxException: XXXX is not mapped [from XXXX]
- org.hibernate.hql.internal.ast.QuerySyntaxException: ### is not mapped
- org.hibernate.hql.ast.QuerySyntaxException: xxx is not mapped
- org.hibernate.hql.internal.ast.QuerySyntaxException: appUser is not mapped
- org.hibernate.hql.internal.ast.QuerySyntaxException: user is not mapped
- org.hibernate.hql.internal.ast.QuerySyntaxException: userinfo is not mapped [from userinfo u where u
- org.hibernate.hql.internal.ast.QuerySyntaxException: XXXXis not mapped [from XXXX]
- org.hibernate.hql.internal.ast.QuerySyntaxException: Exam is not mapped
- Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException: table is not Mapped问题解决
- org.hibernate.hql.internal.ast.QuerySyntaxException: users is not mapped
- 异常收集-org.hibernate.hql.internal.ast.QuerySyntaxException: activityinfo is not mapped
- org.hibernate.hql.internal.ast.QuerySyntaxException: persons is not mapped...
- org.hibernate.hql.internal.ast.QuerySyntaxException: OrderRecordMonitor is not mapped
- org.hibernate.hql.internal.ast.QuerySyntaxException: USER is not mapped 报错解决
- Hibernate中运行程序时报错:org.hibernate.hql.internal.ast.QuerySyntaxException: apibasic is not mapped [from