配置中应该加orm 因为异常提示找不到关系映射文件 hibernate.cfg.xml应该写入<mapping resource="amigo/sshmemo/mapping/User.hbm.xml"/>
org.hibernate.hql.ast.QuerySyntaxException: User is not mapped [from User]
最新推荐文章于 2018-04-21 21:49:00 发布
配置中应该加orm 因为异常提示找不到关系映射文件 hibernate.cfg.xml应该写入<mapping resource="amigo/sshmemo/mapping/User.hbm.xml"/>