Export to GitHub

rapid-framework - issue #38

Hibernate Object is not mapped. 我改怎么做?


Posted on Jan 29, 2010 by Quick Wombat

使用框架结构 ext+struts2+hibernate 修改过 主键生成方式 为assigned 非数据库自动生成。

运行过程中使用URL http://localhost:8080/ProjectName/pages/TbModel/extlist.do 报错: org.springframework.orm.hibernate3.HibernateQueryException: TbModel is not mapped [select t from TbModel t where 1=1]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: TbModel is not mapped [select t from TbModel t where 1=1]

Comment #1

Posted on Jan 29, 2010 by Grumpy Elephant

自己配置没有正确。 自己处理。

Status: Invalid

Labels:
Type-Defect Priority-Medium