javaweb學習總結(三十八)——事務

1、事務的概念   事務指邏輯上的一組操做,組成這組操做的各個單元,要不所有成功,要不所有不成功。   例如:A——B轉賬,對應於以下兩條sql語句     update from account set money=money+100 where name='B';     update from account set money=money-100 where name='A';java 2
相關文章
相關標籤/搜索