[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] bug 382664 - When performing a pk query for an entity not in the cache the cache is checked twice

https://bugs.eclipse.org/bugs/show_bug.cgi?id=382664

When EclipseLink attempts to perform a Find By PK query EclipseLink will check the cache to determine if the object is present. If it is not present EclipseLink will issue the query against the database and perform another lookup in the cache when processing the results. With certain cache types this second cache lookup is not necessary and is inefficient. This patch updates the code path to pass information to the cache indicating that this query has already checked the cache for the object.

Any feedback is welcome
--Gordon