增加日志输出

This commit is contained in:
tang
2020-09-01 12:18:01 +08:00
parent 68c120745f
commit 291a520e9d

View File

@@ -138,6 +138,7 @@ public class MainService {
* @param writer
*/
private void doDataMigration(TableDescription tableDescription, IDatabaseWriter writer) {
log.info("migration table for {} ", tableDescription.getTableName());
JdbcTemplate targetJdbcTemplate = new JdbcTemplate(this.targetDataSource);
DatabaseTypeEnum targetDatabaseType = JdbcTemplateUtils.getDatabaseProduceName(this.targetDataSource);