Change default transaction manager type to JdbcTransactionManager
This commits changes the type of the transaction manager from `DataSourceTransactionManager` to `JdbcTransactionManager` in the default configuration of `@EnableTask`. The `JdbcTransactionManager` adds common JDBC exception translation which is beneficial for Spring Cloud Task to improve exception handling and error reporting. Polishing
This commit is contained in:
committed by
Glenn Renfro
parent
7085cbc735
commit
26c9d43c0b
@@ -230,7 +230,7 @@ repository) to be used.
|
||||
|
||||
|`PlatformTransactionManager`
|
||||
|A transaction manager to be used when running updates for tasks.
|
||||
|`DataSourceTransactionManager` if a `DataSource` is used.
|
||||
|`JdbcTransactionManager` if a `DataSource` is used.
|
||||
`ResourcelessTransactionManager` if it is not.
|
||||
|===
|
||||
|
||||
|
||||
Reference in New Issue
Block a user