KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
This link (from the creator of Ehcache) says you should use SingletonEhCacheRegionFactory when you only have one Hibernate SessionFactory, and EhCacheRegionFactory when you have multiple. But wouldn't EhCacheRegionFactory be a single instance anyway when you only have one SessionFactory? So, what's better about SingletonEhCacheRegionFactory? Why not use EhCacheRegionFactory all the time since it can be used for one SessionFactory or multiple? FYI: I'm using Ehcache 2.4.2 and Hibernate 3.6.5
Tags (comma-separated)
Save Edits
Cancel