for update 可以锁定某张数据表的某条记录,而synchronized锁定的只是代码块
synchronized和for update
猜你喜欢
转载自dongxylove.iteye.com/blog/2286852
今日推荐
周排行