Caused by: org.hibernate.hql.ast.QuerySyntaxException: TkltEmpQuitProcess is not mapped. 问题解决

来源:互联网 发布:苏州海默淘宝开店培训 编辑:程序博客网 时间:2024/06/05 17:43

SSH项目中出现的映射问题:

Caused by: org.hibernate.hql.ast.QuerySyntaxException: TkltEmpQuitProcess is not mapped. 
以上错误为TkltEmpQuitProcess 实体类未配置映射文件导致(DatabaseConn.xml)----
<property name="mappingResources">
  <list>
     <value>cn/enn/hr/empleave/hibernate/TkltEmpQuitProcess.hbm.xml</value>

0 0
原创粉丝点击