is it possible to refresh a static variable.
807589Sep 11 2008 — edited Nov 25 2008Hi there,
I am using a static HashMap and populate some data using a static method in to it. Now the problem is some oracle job will run on overnight and will update more data on to it. Since static block executed only once the data updated by the oracle won't be reflected in static map. Is there any way to reload or refresh the static variable just like oracle job or some other way to do the require functionality(i.e) static block to be updated latest data with out restarting the container.
Regards,
A.