Hi All,
I'm using hibernate 2.1.3 and ehcache as a simple read-only cache. I have several data sources - dev, test, prod - that have the same schema and mappings. I'm accessing all of them in my web app.
From browsing the source code for the ehcache hibernate provider, it seems to me that ehcache can't work in this setup. I'm opening a session factory for each data source but the cache provider is using the default CacheManager and thus the same caches for all data sources.
Am I totally wrong?
10x
Slavik.
|