Community
Participate
Working Groups
Allow a tuner option to allow the configuration of many persistence properties using a single configuration option. This allows for simplified configuration by allowing different tuners to be built for different execution environments. For example a user could create a DevelopmentTuner and a ProductionTuner that configures the persistent unit for the chosen environment.
Safe and Standard tuner options will be provided, as well as a SessionTuner interface to allow users and third parties to develop their own tuners.
Created attachment 225701 [details] adds SessionTuner and some other fixes
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.
Created attachment 227616 [details] some more fixes
Git main push: Bug#398193 - tuning https://bugs.eclipse.org/bugs/show_bug.cgi?id=398193 Some changes to facilitate tuning. Changes: - Added hook to pass session to batch writing mechanism. - Some cleanup.
support added in 2.5
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink