Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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 reviewed.

Bug 245448 - Add regression tests for querying across relationships using nested joining and DailyCacheInvalidationPolicy
https://bugs.eclipse.org/245448
(Patch files have also been uploaded to this bug)

Previously reviewed by: Gordon Yorke

Problem:

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.

Changes:

- Added new regression test QueryExecutionTimeSetOnBuildObjectTest to perform a nested join query using no indirection and a DailyCacheInvalidationPolicy configured.
- Added reference to QueryExecutionTimeSetOnBuildObjectTest into QueryFrameworkTestSuite

Code Review:

Not Required (previously reviewed)

Testing:

LRG  (OK)

--
Oracle Email Signature Logo
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