business knowledge

 

Business knowledge points:

1. Transaction management methods: 1. Programmatic transaction management; 2. Declarative transaction management (based on TransactionProxyFactoryBean , AspectJ, and annotations)

2. Transaction definition information: isolation level (4 types); propagation behavior (7 types), timeout, read-only

3. Transaction running status: active status; partial commit status; failure status; aborted status; commit status

 

The transaction must be in one of the following states:

  - Active state: in this state after the transaction starts executing;

  - Partially committed state: after the last statement of the transaction has been executed;

  - Failure status: After the normal execution of the transaction cannot continue;

  - Aborted state: After the transaction is rolled back and the database is restored to the state it was in before the transaction started executing;

 

  - Commit status: After the transaction has completed successfully.

 

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326690813&siteId=291194637