Add JavaConfig equivalent of tx:jta-transaction-manager [SPR-12197] #16811
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
in: data
Issues in data modules (jdbc, orm, oxm, tx)
type: enhancement
A general enhancement
Milestone
Marten Deinum opened SPR-12197 and commented
When using xml based configured there is the convenience
<tx:jta-transaction-manager/>
which does an effort in detecting and configuring the appropriateJtaTransactionManager
for the detected platform.In JavaBased config there is no such option and I feel that for a couple of projects I've written the same code. Would be nice if there would be an option
FactoryBean<JtaTransactionManager>
maybe? To have this feature in JavaConfig as well.Affects: 4.0.7, 4.1 GA
The text was updated successfully, but these errors were encountered: