Overriding the archaic ehcache shipped with hibernate.