ehcache / ehcache-jcache

The Ehcache 2.x implementation of JSR107 (JCACHE)
Other
91 stars 48 forks source link

Support EHCache 2.4/2.6? #39

Closed tarioch closed 9 years ago

tarioch commented 9 years ago

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 https://github.com/hibernate/hibernate-orm/pull/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?

tarioch commented 9 years ago

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

alexsnaps commented 9 years ago

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 https://github.com/ehcache/ehcache-jcache/issues/39#issuecomment-70460998 .

tarioch commented 9 years ago

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.

alexsnaps commented 9 years ago

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 https://github.com/ehcache/ehcache-jcache/issues/39#issuecomment-71898182 .