Ever tried to get deep into performance tuning with Hibernate? It is not a well traveled path I am finding. In general, I think Hibernate has excellent documentation but recently I’ve been doing some work in performance tuning a highly transactional application and I’ve been struggling to find useful resources. Here are some areas I’ve found difficult to find documentation.
- turn on logging for the Oracle thin JDBC driver. Much of Oracle’s documentation is outdated and it refers to deprecated methods on the driver.
- ehcache is a bit difficult to obtain statistics from if you ask me. I haven’t been successful in getting ehcache installed into JConsole yet although the documentation makes it appear simple enough.
- Hibernate also generates statistics and this is helpful but getting cache statistics on the second level cache can prove problematic
Anyhow, I’ll have future blog entries when the above issues I am having are resolved. Where are Professors Lupin or Snape when I need them?