Sparrow wrote:
Hibernate is an object/relational mapping tool. Like any multi-access datastore, you need to choose a locking method. Hibernate helps with implementing optamistic and pessamistic locking. See the
documentation for how it does this.
Still not clear.
I might misunderstand the OR mapping mechanism.
When objects are updated in Hibernate, the locking would help this issue.
What about get property (read) from object?
How does hibernate guarantee the state of the object is same as the state in the database, which other processes might change the state.
Please give me a brief idea about it.
Tak