Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

Support EHCache 2.4/2.6? #39

Closed
tarioch opened this issue Jan 15, 2015 · 4 comments
Closed

Support EHCache 2.4/2.6? #39

tarioch opened this issue Jan 15, 2015 · 4 comments

Comments

@tarioch
Copy link

tarioch commented Jan 15, 2015

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?

@tarioch
Copy link
Author

tarioch commented Jan 19, 2015

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
Copy link
Member

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)
.

@tarioch
Copy link
Author

tarioch commented Jan 28, 2015

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
Copy link
Member

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)
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants