I install Multi dataSource. but you can't support transaction.

When an exception occurs, roll back the last one,because the current thread is bound to a last transaction.

current thread Whether you can bind multiple TransactionInfo. When an exception occurs, roll back all transaction;

Comment From: sbrannen

Hi @zhb-github,

Thanks for raising your first issue with the Spring Framework!

Spring's transaction management supports a single transactional resource by design.

If you wish to support transactions across multiple transactional resources (like the multiple databases in your use case), you have several options which are outlined in @dsyer's excellent article on Distributed transactions in Spring, with and without XA.

In light of that, I am closing this issue.