Hi there,
I have a query regarding the synchronization of object state with the data in the database. I have a database, which is being used by two applications simulataneously.
Lets say, through first application, I query table 'X' and the data is stored in the hibernate object, which is cached and for the subsequent queries the data would be returned from the cached object. Lets say, the second application, updates the data of table 'X'. Now in this case, the state of the cached object will become dirty.
I want to know, in the above scenario, will hibernate supports the synechronized the state of the cached object with the data in the database.
Regards,
PS.[/img]
|