Try typing "hibernate default cache provider" into Google. ;-)
Note that the (official?) docs  state: "Note that versions prior to
3.2 use EhCache as the default cache provider." So perhaps most of
the hits refer to old versions of Hibernate. And if the reason for
removing a default altogether is to pass a TCK and multiple inits, we
can have a chat about this to see how we can make this work
(Infinispan has a concept of a default cache, which "just works" and
is always available, if that helps with multiple inits).
All the same, it would be good to have some sort of preference
expressed in the docs even if you don't want to ship a default, but
that's up to you guys.
Let me say it for the third time (complementing Steve's first
There is no default cache provider, a user has to chose one. One of
the reasons for this move was that the JPA TCK was having issues with
cache systems and multiple initializations.
On 9 sept. 09, at 18:58, Steve Ebersole wrote:
> Again, there is no default cache provider. Users must decide which
> On Wed, 2009-09-09 at 11:42 -0500, Sanne Grinovero wrote:
>> I'd like to see Infinispan as default cache provider, AFAIK ehcache
>> the default now.
>> IMHO the default is to some extend a recommendation to the users, at
>> least that's
>> how I perceived it when I was new to hibernate: "if they have chosen
>> it, it must be good".
>> It would need however to be able to work at least in single-vm mode
>> without configuration,
>> to keep it as simple as possible for beginners.
>> 2009/9/9 Galder Zamarreno <galder.zamarreno(a)redhat.com>:
>>> Steve, taking in account that at least in the community version
>>> you ship
>>> a few different cache providers (correct me if I'm wrong), what
>>> putting something in the Hibernate docs where you recommend using
>>> Infinispan? i.e. "Infinispan is the recommended 2LC provider"
>>> On 08/31/2009 06:02 PM, Steve Ebersole wrote:
>>>> We do not make any cache integration the default. There are too
>>>> variables that have to come in to play...
>>>> On Mon, 2009-08-31 at 17:55 +0200, Galder Zamarreno wrote:
>>>>> Bugger, this was released hours before I committed the
>>>>> Infinispan cache
>>>>> provider :(
>>>>> Steve, let's catch up before next 3.5 release in order to figure
>>>>> what's needed to make Infinispan the default cache provider. Do
>>>>> you make
>>>>> such decision based on any performance test or the configuration
>>>>> My aim is to make Infinispan the best 2nd level cache provider
>>>>> out there.
>>>>> On 08/21/2009 06:43 PM, Steve Ebersole wrote:
>>>>>> Hibernate 3.5.0.Beta-1 has been released. Please see
>>> Galder Zamarreño
>>> Sr. Software Engineer
>>> Infinispan, JBoss Cache
>>> infinispan-dev mailing list
> Steve Ebersole <steve(a)hibernate.org>
> hibernate-dev mailing list
infinispan-dev mailing list