hibernate 执行hql报错:org.springframework.orm.hibernate3.HibernateQueryException
org.springframework.orm.hibernate3.HibernateQueryException: MonitorSection is not mapped [from MonitorSection as model where model.effect='1' ]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: MonitorSection is not mapped [from MonitorSection as model where model.effect='1' ]MonitorSection.hbm.xm配置文件
dao方法
搞了好久都没搞出来 --------------------编程问答-------------------- MonitorSection 这个不映射 effect 是不是大小写的问题,换成大写试试 --------------------编程问答--------------------
还是不行 --------------------编程问答--------------------
还是不行 --------------------编程问答-------------------- MonitorSection.hbm.xml加到hibernate配置文件了吗?
补充:Java , Web 开发