Lazy loading does not works for ManyToOne in eclipselink

天涯浪子 提交于 2019-11-30 22:42:38

weaving is required for some lazy relationships and enabling other performance enhancements in EclipseLink such as fetch groups and change tracking, as described at http://www.eclipse.org/eclipselink/documentation/2.4/concepts/app_dev007.htm

Weaving is generally automatic occurs within EE 7 containers, but will require work outside of the container or in non-EE7 containers. So to get lazy to work on 1:1 and M:1, you will need to enable weaving either dynamically through use of an agent, or statically weaving class files and then using those.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!