
ssh
waj1110jx
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
对象 is not mapped
04/29 遇到 XX类 is not mapped 。 但我的src/hibernate.cfg.xml中已经配置。 原因是test/hibernate.cfg.xml中未配置,而项目启动时认为的classPath是test目录。 修改.myhibernate的configFile指向正确的,并重新布署就行了。 注在.classpath文件中可以看到test的...原创 2011-04-29 15:35:05 · 158 阅读 · 0 评论 -
hibernate问题
could not load an entity: [com.xxx.yyy.Sellinfo#1] ***.hbm.xml文件中的某个列名和数据库中的不同。原创 2011-05-06 09:55:51 · 134 阅读 · 0 评论 -
spring 获取bean
http://weizhigan.iteye.com/blog/719957 public class SpringContextUtil implements ApplicationContextAware { private static ApplicationContext applicationContext; //Spring应用上下文环境 ...原创 2011-03-05 12:41:20 · 92 阅读 · 0 评论