I marked a class as
Code:
<cache usage="read-only"/>
in the Mapping file. In the ehcache.xml file the parameters for my class are
Code:
<cache name="..."
maxElementsInMemory="10000"
eternal="true"
overflowToDisk="true"/>
It seems to me, that objects of this class will be cached, until the session will be flushed. Than the objects were loaded from the db, again.
Does anybody use ehcache, since it's released? Is it enough to mark the class to be cached or should I mark every collection as to be cached, too?
I added net.sf.ehcache.level=FINE to my logging.properties, but nothing will be logged. What can I do to see log outputs with the JDK 1.4 Logger?
Thanks in advance