Hi All,
I have been asked to check if Hibernate is suitable for our project requirement .I had gone through some document available on net about Hibernate's capabilities.I had one question regarding cocurrency though :
Say , 'user1' execute a Select query and am given a reference to a 'Product' object.Will Hibernate lock this object for update(ie) will no one else be able to update this object until i have commited the changes to the DB?
will this logic work even if the 'user1' hold the lock on the object for almost a day.
Can you please point me to some link which has details about this ?I would need to have a dicussion with my manager based on this
Thanks a lot,
Ashwin
|