读书人

org.hibernate.hql.ast.QuerySyntaxEx

发布时间: 2012-11-09 10:18:47 作者: rapoo

org.hibernate.hql.ast.QuerySyntaxException: XXXX is not mapped

org.hibernate.hql.ast.QuerySyntaxException: XXXX is not mapped

可能原因:

1.实体与数据库表没对应

2.hql语句中对象名称写错(写成了表名)

读书人网 >编程

热点推荐