Hi all, In our database, there is a table called codsc. We access the codsc table many times in all parts of our application. The data rarely changes, so it is a good candidate for caching.
The primary key of codsc is id, code. The columns we need cached are desc, dstat. Basically we want the JCS to do is: - We need to be able to request the data by primary key. - We want the first request to actually retrieve the data. - After the first request, the cached data should be returned. - We do not need to write the data back out to the database. - It would be nice if the cached data would expire after a period of time, and refresh the data from the database. I found out there is JCS in Hibernate, but I never used it before, I am not sure if it fits my project or not? Did anyone try JCS in Hibernate before? And could you give me an simple example how to do it? Thank you all so much! __________________________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo http://search.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel