Similar to the ISPN dialect, there could be a "cache-per-table" approach for the Ehcache dialect. If we agree we want to have that eventually but don't manage to do it in time for the 4.1 Final, we This should at least extract the following bits from the ISPN dialect and move it to a shared K/V package in core re-use :
* the property {{ InfinispanProperties KeyValueStoreProperties # PERSISTENCE_STRATEGY CACHE_STORAGE }} ( should go to it be re-named into {{ KeyValueStoreProperties CACHE_MAPPING }} ?) * The {{ PersistenceStrategy KeyValueStoreGlobalContext }} enum et al. for setting the strategy via the option system
Also the following should be considered To do :
* Establish a global option in the option system Add context types for Ehcache * Establish a Implement cache- per- entity option table strategy based on the approach used in ISPN * Make this the option system default
|