Manually configure the data source, data useless seata agent, error code to run after the seata seaver side has log print
The Rollback global transaction successfully, xid=82.156.78.45:8700-2001069320.
The following is a data source configuration
Public class MybatisConfig {
Protected Logger Logger=LoggerFactory. GetLogger (getClass ());
@ Bean
@ ConfigurationProperties (" spring datasource. The druid. Master ")
Public DataSource masterDataSource (DruidProperties DruidProperties) {
DruidDataSource dataSource=DruidDataSourceBuilder. The create (). The build ();
Return druidProperties. The dataSource (dataSource);
}
@ Bean
@ Primary
@ DependsOn (" masterDataSource ")
Public DynamicDataSource dataSource (dataSource masterDataSource) {
Map
But it didn't happen to rollback, and the things not to join the database