Caused by: org.hibernate.hql.ast.QuerySyntaxException: TkltEmpQuitProcess is not mapped. (SSH项目中出现的映射问题)
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>