-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Description
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.