Singleton cache Provider plugin for Hibernate 3.2 and ehcache-1.2. New in this provider is support for
non Serializable keys and values. This provider works as a Singleton. No matter how many Hibernate Configurations
you have, only one ehcache CacheManager is used. See EhCacheProvider for a non-singleton implementation.
Ehcache-1.2 also has many other features such as cluster support and listeners, which can be used seamlessly simply
by configurion in ehcache.xml.
Use hibernate.cache.provider_class=net.sf.ehcache.hibernate.SingletonEhCacheProvider
in the Hibernate configuration
to enable this provider for Hibernate's second level cache.
Updated for ehcache-1.2. Note this provider requires ehcache-1.2.jar. Make sure ehcache-1.1.jar or earlier
is not in the classpath or it will not work.
See http://ehcache.org for documentation on ehcache