My application requires to refresh the hibernate cache periodically (for every hour should sync the contents in cache with database). The duration of the refresh might be modified by the application user in the future (requirement) hence would like to specify it in config file instead of using refresh method in the code. Please let me know whether any tag or attribute available in config files for this set up or provide me better solution for this case.