What about using a second-level cache in Hibernate and configure it to
live for a couple hours? You can also use the SessionFactory methods that
clear the second level cache programatically: evict(Class persistentClass)
and evictQueries(String cacheRegion).
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da
Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]