Community
Participate
Working Groups
valueFromPKList is used when loading Entities by PK for a relationship. Currently this code issues a ReadObject query for each PK value and this is terribly inefficient. The code should be changed to bulk load from the cache and then bulk load from the database using IN.
Created attachment 189106 [details] Proposed Patch This patch add bulk load from cache functionality and bulk load from database for valueFromPKList.
Created attachment 189222 [details] Final Patch Small change to support ordering of the getAll values.
Checked In Reviewed by James Sutherland
*** Bug 335448 has been marked as a duplicate of this bug. ***
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink