Joined: Wed Jul 25, 2007 6:33 pm Posts: 9
|
Hibernate version: 3.3.SP1
I've enabled the Hibernate query cache. And I've quickly discovered that by using Criteria queries of "natural ID"s solely, there is little reason to replicate the timestamp cache across the cluster using JBoss Cache.
I think there could be a property setting that only allowed for natural ID queries to be made and thus disabling the timestamp cache entirely. What could happen in cases where a non-"natural ID" query is made is that the query simply occurs without caching.
Thoughts?
|
|