Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] SVN main commit: Bug#301063 - fix to query cache, jpa cache interface and extensions

SVN main commit: Bug#301063 - fix to query cache, jpa cache interface and extensions

 

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

 

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

 

Doc,

http://wiki.eclipse.org/EclipseLink/DesignDocs/298985

 

Changes:

- Fixed java doc on query hints for query cache.

- Added check for CacheKeyType.AUTO, and exception for invalid type to descriptor.

- Ensure session cache object is built when using query cache, so it can be cached.

- Fixed validateCache() to work for descriptors that are not cached (aggregates).

- Changed query cache method to take List instead of Vector for params.

- Removed some duplicate code in olr query.

- Ignore null temp result is query cache (objects not built in session cache), use invalid object to represent null/empty.

- Added tests for new JpaCache API.

- Added tests for query caching inside uow of work and early transaction.

- Added extended cache API to JPA Cache, added JpaCache interface.

 

Code review: Andrei, Gord

 


Back to the top