Attila Király opened SPR-13735 and commented

Spring-data common has a hidden gem: ChainedTransactionManager. It is not mentioned in the reference documentation only in javadoc. There is a good blog entry about it which describes why it is useful.

ChainedTransactionManager is in a package which doesn't have any dependency on anything else in spring-data. Basically it only depends on org.springframework.transaction from spring-tx.

Considering that it is a pretty general functionality, could it be moved (and documented) into spring-tx itself?


Affects: 4.2.3, 5.0 M4

Issue Links: - #8524 Provide a "best efforts" 1PC transaction manager out of the box

Referenced from: pull request https://github.com/spring-projects/spring-framework/pull/1324

Comment From: spring-projects-issues

Attila Király commented

Related jiras: #8524 and DATAGRAPH-256

Comment From: snicoll

With ChainedTransactionManager being deprecated in Spring Data, we have no intention to move this feature in the core framework. Thanks for the suggestion, in any case.