Skip to content

Doc: JdbcTransactionManager vs DataSourceTransactionManager #30802

@manueljordan

Description

@manueljordan

Through the javadoc of PlatformTransactionManager I did realize about the JdbcTransactionManager class. The latter is a subclass of DataSourceTransactionManager.

Normally and practically always the DataSourceTransactionManager class is used to define the TX infrastructure for JDBC and MyBatis.

Now, to be honest, is not clear in the javadoc of the JdbcTransactionManager class when it is mandatory over DataSourceTransactionManager or what is/are the advantages over its superclass.

I read all the sections of the Transaction Management section of the Reference documentation and the JdbcTransactionManager term does not appear.

Therefore is not clear with the current documentation when is mandatory use JdbcTransactionManager .

Thanks for your understanding.

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)status: backportedAn issue that has been backported to maintenance branchestype: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions