I have a question about the JCS, since I haven't used it before, I don't know how it works.
We have a table in our database, and its data rarely changes, so it is good for caching. I tried to put <jcs-cache usage="read-write" /> to my .hbm.xml file, but I don't know how to test it to make sure its data is from cache not from database?
Thanks a lot!
Thank you yehs220 for replying.
I tried what you said, but it always show me the SQL statements, so that means the data is from database? I did use <jcs-cache usage="nonstrict-read-write"/> in my .hbm.xml, I do not know what is wong with it? If you have a chance, could you take a look,
P.S, someone told me to turn on log4j.logger.net.sf.hibernate.cache=debug, I also tried this, it showed me something like "Cache new", don't know if the cache has been used.