org.hibernate.LazyInitializationException - could not initialize proxy - no Session问题
原因:hibernate懒加载
解决办法:将配置文件*.hbm.xml中<many-to-one>设置上lazy=“false”
org.hibernate.LazyInitializationException - could not initialize proxy - no Session问题
原因:hibernate懒加载
解决办法:将配置文件*.hbm.xml中<many-to-one>设置上lazy=“false”