Ishai wrote:
if an object value (and a record value in the db) changes , that all the hibernate instances will be updated with the new value.
maybe its trivial , but were still in the theortical testing of hibernate and havnt acctually installed it :)
hibernate's memory from database has a short life span and it is usually within scope of a transaction and with an appropriate isolation level you will eliminate most of sync problems. However, if you use a L2 cache the story is different since hibernate keeps a copy of database values. In a multi node environment however you can sync caches. This however works if all updates are being made with hibernate and no other layer.
Farzad-