摘要:
查询时抛出异常:org.springframework.orm.hibernate3.HibernateQueryException: is not mapped原因一: 配置文件中 hbm.xml没有配置原因二(今天我遇到的): 用myeclipse 自动生成的dao中sql用的 from u... 阅读全文
Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xm
摘要:
用.hbm.xml的Mapping配置方式 根据抛出的异常:Association references unmapped class: com.hcrm.bean.ComplaintInfo,说明你的配置中有一个关联映射,应该在某个类中,有个声明为ComplainInfo属性,它对com.hcrm... 阅读全文