Just to be more specific, I said:
Quote:
Unless you spend time on working with caches
By this I meant learning how to select, configure and make-use-of secondary cache, starting with
Code:
hibernate.cache.provider_class=org.hibernate.cache.EhCacheProvider
Both Hibernate books devote fair amount of attention to this subject, but as always, in practice you end up learning a lot in the process...
In my experiences, caches are good ...
IF you can guarantee that there is no other database access than thru your cache(s) ... which is where it often fails flat on it's face.
Then, the best use of your $$$ is usually making your SQL database server 'the cache', and give it more memory...