在多线程情况下,执行 update table_name set col1 = 'A' where field1 = (select field1 from table_name where col2 = ? and col1<>'A' fetch FIRST 1 ROWS ONLY)为什么会更新同一条数据?
...全文
5471打赏收藏
java多并发下更新查询问题
在多线程情况下,执行 update table_name set col1 = 'A' where field1 = (select field1 from table_name where col2 = ? and col1'A' fetch FIRST 1 ROWS ONLY)为什么会更新同一条数据?