<property name="hibernate.enable_lazy_load_no_trans">true</property> 转载于:https://my.oschina.net/ikiru/blog/1536633