Using JPA/Hibernate 3.2.2, not sure if this is a core or entitymanager question...
I can't seem to timeout my query cache. I have it enabled and it's working fine (DB backed resource bundle), but I was under the impression that a query like
Code:
return entityManager.createQuery(
"...")
.setHint("org.hibernate.cacheable", true)
.setHint("org.hibernate.timeout", 600)
.getSingleResult();
Would reload the resource bundle data every 10 minutes. Now it never reloads and never pickes up the new resource bundle data. I'm using the HashtableCacheProvider (not that it should matter?).
Thanks in advance,
Nik