Dear All
I am trying to deal with the following situation:
I have a hierarchical structure of objects (much like a folder tree on a filesystem) and am loading this through hibernate. Ocasionally changes are made to the storing table by an external source which lies outside the control of my application, of which the application is however notified by looking up a timestamp in another table. Given that throughout the application only a direct reference to the root folder exists, I was wondering how to keep the in-memory folder structure up to date?
Is there a way of querying the timestamp for every access to any folder?
Once such a change is detected, is there a way of causing Hibernate to reload the objects?
BR
George Georgovassilis[/b]
|