阅读背景:

Spring Data JPA - “无法初始化代理 - 无会话” - 使用标记为事务的方法

来源:互联网 

I have a model that has a pretty large graph of sub entities and hibernate ends up making around 9 statements to lazily fetch all of the data needed but about 4 levels deep I get a "could not initialize proxy - no Session" error and I am not sure why. I have a model that has a pretty large graph of




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: