Hi all,
ehCache seems really good, I am seeing some great performances improvements. So far I have only used it for discrete objects. However, if I have objects Foo and Bar, and they each have a cache defined in ehcache.xml, and Foo has a collection of Bar's, do I also need to have the cache foo.bars defined as well?
I assume yes, becasue we will still need to either hit the database to know which Bar's belong in Foo.getBars() set. But maybe not? I guess I am worried that if multiple objects are related to each other through many to many objects etc, I will have huge numbers of sets to map as well...
Eric
|