|[eclipselink-dev] Fix for bug 245448 - Add regression tests for querying across relationships using nested joining and DailyCacheInvalidationPolicy
The following fix has been checked in, and was previously
Bug 245448 - Add regression tests for querying across relationships using nested joining and DailyCacheInvalidationPolicy
(Patch files have also been uploaded to this bug)
Previously reviewed by: Gordon Yorke
Add regression tests for the following scenario:
Using a model with no indirection, querying across relationships using joining
to trigger nested joining, and having a DailyCacheInvalidationPolicy in place
for invalidation can cause the query execution time to not be set on an
object's cache key.
This has the effect of EclipseLink perceiving the object as invalid within the
cache, and instead retrieving it from the database upon subbsequent access
attempts for the cached object. Duplicate SQL is observed because the object
needs to be loaded from the database.
- Added new regression test QueryExecutionTimeSetOnBuildObjectTest to perform a nested join query using no indirection and a DailyCacheInvalidationPolicy configured.
- Added reference to QueryExecutionTimeSetOnBuildObjectTest into QueryFrameworkTestSuite
Not Required (previously reviewed)
David Minsky | Senior Member of Technical Staff | (613) 288-4605
Oracle Server Technologies | Sustaining Engineering
45 O'Connor Street, Suite 400, Ottawa, Ontario, Canada K1P 1A4
Back to the top