Community
Participate
Working Groups
Current default is PROTECTED. This should be changed to ISOLATED.
From the original bug as entered by James: "If we allow caching of tenant data as we currently are, then if I have a BankAccount of Id 1234 at BMO, then call find() for BankAccount 1234 for TD, we will get a cache hit for this, and return the TD user the BankAccount from BMO. As well, a query that uses a CacheUsage of CheckCacheOnly, or CheckCacheThenDatabase, will return data from other tenants. Also, and update-all, or delete-all query, or flush-clear will invalidate data from other tenants."
Created attachment 203704 [details] Proposed changes
Created attachment 203710 [details] Updated patch
Created attachment 203795 [details] Patch for trunk
Changes have been submitted. Verified by: Gordon Yorke, James Sutherland Tests: N/A existing multitenant tests continue to pass.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink