org.hibernate.LazyInitializationException: could not initialize proxy [com.angus.entity.ProductCateg
2021-05-05 23:27
标签:hibernate org one not com 默认 category exception ESS org.hibernate.LazyInitializationException: could not initialize proxy [com.angus.entity.ProductCategory#1] - no Session 在出问题的实体类上加@Proxy(lazy = false) hibernate默认是懒加载的。 org.hibernate.LazyInitializationException: could not initialize proxy [com.angus.entity.ProductCateg 标签:hibernate org one not com 默认 category exception ESS 原文地址:https://www.cnblogs.com/bestjdg/p/12105100.html错误现象:
解决方式
原因
文章标题:org.hibernate.LazyInitializationException: could not initialize proxy [com.angus.entity.ProductCateg
文章链接:http://soscw.com/index.php/essay/82944.html