Can't understand EclipseLink warning

血红的双手。 提交于 2019-11-30 11:09:34

See http://wiki.eclipse.org/Introduction_to_EclipseLink_Application_Development_%28ELUG%29#Using_Weaving.

For lazy fetching to be possible on XxxToOne associations, the byte-code of the JPA entities must be modified (that's what weaving means). If it's not modified, an XxxToOne association can only be eager-fetched.

Eager fetching means that each time you load a Site from the database, its redirectID is also loaded. With lazy fetching, you load a site, and its redirect is only loaded (lazily) when you call a method on the redirectID field.

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