Single transaction across multiple threads solution
问题 As I understand it, all transactions are Thread-bound (i.e. with the context stored in ThreadLocal). For example if: I start a transaction in a transactional parent method Make database insert #1 in an asynchronous call Make database insert #2 in another asynchronous call Then that will yield two different transactions (one for each insert) even though they shared the same "transactional" parent. For example, let's say I perform two inserts (and using a very simple sample, i.e. not using an