Spring transaction processing and principles

 

 

 

 

First, the theoretical study affairs

Use database transactions to achieve application transaction control

1. Requirement: need the same transaction with the same database connection.

2.

 

 3. Distributed Transaction JTA

 

 

 

 

 

 

 

 

 Two, spring transaction modeling

1.

 

 2.

 

 

Three, spring transaction processing

Guess you like

Origin www.cnblogs.com/wenxiangchen/p/11444098.html