Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-dev] Git main push - Bug#398193 - tuning configuration templates

Git main push - Bug#398193 - tuning configuration templates

 

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

 

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

 

Adds tuning templates and query results cache invalidation.

 

Changes:

- Added "eclipselink.tuning" persistence unit property to configure a SessionTuner configuration template (Safe, Standard, <custom-class>).

- Added "eclipselink.cache.query-results" persistence unit property to enable query results caching for all named queries.

- Added defaultQueryResultsCachePolicy on Project to default to all named queries.

- Added support for query results cache invalidation, any change to any class returned by the query causes the results to be invalidated.

- Added EMPTY CacheId constant.

- Added invalidateQueryCache(Class) API on IdentityMapAccessor

- Changed cache coordination merge to invalidate query cache.

- Changed UnitOfWork merge to invalidate query cache.

- Added invalidateOnChange property to QueryResultesCachePolicy (true by default).

- Changed TableCreator to check if a table exists before attempting to create it (added CHECK_EXISTENCE flag to disable this check).

- Added SafeModeTuner to provide a debugging tuned persistence unit.

- Added SessionTuner interface to allow configuration temaplates.

- Added StandardTuner for a default configuration.

- Added tests for query results invalidation to JPA AdvancedQueryTestSuite.

- Added clearQueryCache(Class) API to JpaCache.

 


Back to the top