I don't know why the n+1 problem does not occur due to the relation relationship Different from my expectations What is the reason?

前端 未结 0 1669
囚心锁ツ
囚心锁ツ 2021-01-27 08:40

I expected sql to be printed 6 times. because otherItems is output as lazy, which corresponds to jpa\'s n+1 problem. As expected, it should be a total of 6 times.

[Order

相关标签:
回答
  • 消灭零回复
提交回复
热议问题