-
1. Re: Configuration has different effect between 5.1.8.Final and 5.2.0.Final
nadirx Feb 4, 2013 10:02 AM (in response to johannburkard)Your (groovy?) code does not tell me how you use the above configuration to create your cache.
-
2. Re: Configuration has different effect between 5.1.8.Final and 5.2.0.Final
johannburkard Feb 4, 2013 10:13 AM (in response to nadirx)Just
cacheManager.getCache(SomeEnum.SomeConstant.name())
-
3. Re: Configuration has different effect between 5.1.8.Final and 5.2.0.Final
nadirx Feb 4, 2013 10:46 AM (in response to johannburkard)I'm surprised redefining the default cache configuration actually worked after having started the cachemanager.
I would like to make this functional again (supposing I find out what is causing the issue): however the "fluent()" configuration was deprecated since 5.1 and the new builder configuration should be used.
-
4. Re: Configuration has different effect between 5.1.8.Final and 5.2.0.Final
johannburkard Feb 4, 2013 2:49 PM (in response to nadirx)Well, I changed my configuration to the new 5.2 API. Wasn't too hard.
I think it's good you're cleaning up the configuration API but I would suggest you get rid of the old one(s?) more aggressively -- the Ehcache guys have on occasion removed deprecated methods and so code breaks immediately when updating. In my case, the code ran but didn't work.