youyixiao / rapid-framework

Automatically exported from code.google.com/p/rapid-framework
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
使用框架结构 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] 

Original issue reported on code.google.com by Daniel.s...@gmail.com on 29 Jan 2010 at 9:30

GoogleCodeExporter commented 9 years ago
自己配置没有正确。 自己处理。

Original comment by bad...@gmail.com on 29 Jan 2010 at 9:33