Hibernate Object is not mapped. 我改怎么做?
Closed this issue · 1 comments
GoogleCodeExporter commented
使用框架结构 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
自己配置没有正确。 自己处理。
Original comment by bad...@gmail.com
on 29 Jan 2010 at 9:33
- Changed state: Invalid