推荐:有关在JDBC cache优化的争论。

TSS有一段关于JDBC Cache的争论,一方认为cache应用做在中间层或客户端;在内存中cache数据表,如Entity Bean;一方认为做在JDBC 可以很方便。

无论怎样,我们的数据库访问会越来越快,选择的机会很多。

http://www.theserverside.com/home/thread.jsp?thread_id=18719&article_count=4

JDBC Cache 我最早看到是在 Poolman 里.
不过我的应用大多要求实时的数据,很少会用到这样的 Cache.

JDBC cache is less useful to my experience.
Very often people can choose improve Cache on DB side directly if they just need to speed up query. Few of my customers' systems allocate Giga bytes RAM for DB buffer and super fast network plus some middle tier cache.

Middle tier cache is more versatile in general, I mean in general.