日期:2014-05-18  浏览次数:20521 次

sessionFactory加载hbm.xml问题
http://community.csdn.net/Expert/topic/5633/5633356.xml?temp=.5122187
问题找到了,是用到sessionFactory好像就又加载hbm.xml,我把配置的hbm.xml删除就剩下我要测试的一个po,就很快,内存消耗很小,但我配置了lazy-init= "true ",没效果,把那些hbm.xml全加上,还是内存消耗很快

------解决方案--------------------
什么问题啊?http://community.csdn.net/Expert/topic/5633/5633356.xml?temp=.5122187打不开啊
------解决方案--------------------
http://community.csdn.net/Expert/topic/5633/5633356.xml?temp=.5122187真的打不开

另外
> > > 但我配置了lazy-init= "true ",没效果
“没效果”是什么意思?是内存消耗很快,还是内存消耗跟没有配置这个参数的时候一样?