Hibernate version: 3.2.0
Ehcache version: 1.2.4
I'm trying to integrate ehcache into my application and having problems with the cache manager reading the ehcache.xml file definition if it is under a different name (currently our VM has already an instance of another cache definition loaded under a legacy webapplication using the file ehcache.xml). What my other application is trying to do is basically load up ehcache-hibernate.xml for example.
I've added the definition into my hibernate.cfg.xml file
but seems like hibernate isn't picking up that definition file. I've tested it if the file has the default name ehcache.xml, however if i change the file to another different name (ehcache-hibernate.xml) in this example, it's not picking it up. Is this the correct way to specify the loading of a EHCache configuration file if it's gonna be a name other than the expected default? Any help would be greatly appreciated. Thanks!