below is how i do query cache
getHibernateTemplate().setCacheQueries(true);
List<IssSection> result = (List<IssSection>) getHibernateTemplate().findByCriteria(crit);
getHibernateTemplate().setCacheQueries(false);
may i know how to specify duration of maximum time to cache this method? let say i want to clear cache after 5 mins expirated