关闭窗口
字体: 特大
Data consistency [#2296964@0 -ROLIA.NET]
Data consistency
by newtoronto (一家三口) at 2005.5.15 17:01
Yes, agree. Should be careful for different clients. Hibernate using JDBC batch mode update the database, so if there are some update come from other channel, should use hibernate timestamp to compare the consistency before the update. Actually, this one also happen in one clients, such as one web application, one client read the data for a while, and another guy already submit the change, when the first guy submit, normally we do not check whether the data been changed. (By the default isolation). Just my feeling.

话题 版权声明 关闭窗口