[hibernate-dev] Deprecating or removing entirely HashtableCacheProvider?

Sanne Grinovero sanne at hibernate.org
Wed Jun 8 08:26:43 EDT 2011


I always try to understand what's the main reason motivating people to
use it. Likely the zero dependencies, "let's just try one" ?

We could bake a very simple implementation based as you say on a
ConcurrentHashMap, and implement a simple eviction is simple. But I'm
afraid that offering such a feature would drive away from proper
implementations, which we should encourage to use.

Sanne

2011/6/8 Emmanuel Bernard <emmanuel at hibernate.org>:
> I always die a little when I see someone using HashtableCacheProvider.
>
> What do you think of removing it entirely. Worse case, we could provide an implementation that is backed by ConcurrentHashMap but even with that, we would get no eviction policy etc.
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>



More information about the hibernate-dev mailing list