Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JavaConfig equivalent of tx:jta-transaction-manager [SPR-12197] #16811

Closed
spring-projects-issues opened this issue Sep 16, 2014 · 1 comment
Assignees
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

Comments

@spring-projects-issues
Copy link
Collaborator

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 appropriate JtaTransactionManager 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

@spring-projects-issues
Copy link
Collaborator Author

Sam Brannen commented

Juergen Hoeller introduced JtaTransactionManagerFactoryBean as an equivalent to <tx:jta-transaction-manager />.

@spring-projects-issues spring-projects-issues added in: data Issues in data modules (jdbc, orm, oxm, tx) type: enhancement A general enhancement in: core Issues in core modules (aop, beans, core, context, expression) labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 4.1.1 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants