Support EHCache 2.4/2.6?
tarioch opened this issue · comments
It looks like ehcache-jcache does not support ehcache 2.4/2.6.
Ehcache 2.4 on the other hand is the only ehcache version supported by hibernate 4.
https://hibernate.atlassian.net/browse/HHH-8732
and
hibernate/hibernate-orm#643
So if I see this correctly it's not possible to have an application which is using both hibernate and ehcache and also use the jcache interface for application specific caches?
Did I miss something?
For now I forked this and back ported the logic a bit to work with ehcache 2.4
It does not support the mxbean for statistics and also doesn't support setting a specific classloader.
But it still might be useful for someone: https://github.com/tarioch/ehcache-jcache
Hey Patrick,
That doesn't pass the TCK then, does it?
Thanks,
Alex
On Mon Jan 19 2015 at 3:43:47 AM Patrick Ruckstuhl notifications@github.com
wrote:
For now I forked this and back ported the logic a bit to work with ehcache
2.4
It does not support the mxbean for statistics and also doesn't support
setting a specific classloader.But it still might be useful for someone:
https://github.com/tarioch/ehcache-jcache—
Reply to this email directly or view it on GitHub
#39 (comment)
.
I didn't try and it could very well be that it doesn't pass it, but for my current usage it's good enough.
Right, not saying that's a huge issue necessarily, only something we can't
really support... ehcache-jcache has to remain TCK compliant.
On Wed Jan 28 2015 at 2:25:29 PM Patrick Ruckstuhl notifications@github.com
wrote:
I didn't try and it could very well be that it doesn't pass it, but for my
current usage it's good enough.—
Reply to this email directly or view it on GitHub
#39 (comment)
.