Home > Back-end >  The try of SQL execution order
The try of SQL execution order

Time:12-19

The try has multiple update SQL, SQL execution order is according to the code executed sequentially: such as:
Try {
UpdateStudent (student);
UpdateStudent (student1);
UpdateStudent (student2);
}...

CodePudding user response:

I use the debug appears to be in accordance with the order, and I don't know whether that is

CodePudding user response:

General situation is executed according to the normal order, unless you updateStudent is executed asynchronously, print the log can see the execution order

CodePudding user response:

Is is

CodePudding user response:

If method updateStudent opened the multithreading and no awaitTermination inside, or call the asynchronous method, not in sequence, or order,
  • Related