异常:
org.hibernate.hql.ast.QuerySyntaxException: EmpModel is not mapped [from EmpModel where name = ? and pwd = ?]
原因:
实体类缺少映射文件
解决办法:
补充实体类的映射文件 实体类.hbm.xml
异常:
org.hibernate.hql.ast.QuerySyntaxException: EmpModel is not mapped [from EmpModel where name = ? and pwd = ?]
原因:
实体类缺少映射文件
解决办法:
补充实体类的映射文件 实体类.hbm.xml