hibernate中报错:could not initialize proxy - no Session,怎么解决? 
 解决方法: 
 在该hbm文件中的 many-to-one 的最后加上:lazy=”false”,请看:
  <many-to-one name="kecheng" class="org.entity.Kecheng" fetch="select" lazy="false"><column name="class_kecheng" /></many-to-one>然后就可以了。