code: void chooseUpsertPlugin(Context context) {
      DatabaseType type = detectDB(context);
      PluginConfiguration pluginConfiguration = new PluginConfiguration();
      switch (type){
        case MYSQL:
          pluginConfiguration.setConfigurationType(MySqlUpsertPlugin.class.getTypeName());
          context.addPluginConfiguration(pluginConfiguration);
          if(verbose)getLog().info("enable upsert service with mysql for context " + context.getId());
          break;
        case POSTGRESQL:
          pluginConfiguration.setConfigurationType(PostgreSQLUpsertPlugin.class.getTypeName());
          context.addPluginConfiguration(pluginConfiguration);
          if(verbose)getLog().info("enable upsert service with postgresql for context " + context.getId());
          break;
        case SQLSERVER:
          pluginConfiguration.setConfigurationType(SQLServerUpsertPlugin.class.getTypeName());
          context.addPluginConfiguration(pluginConfiguration);
          if(verbose)getLog().info("enable upsert service with sqlserver for context " + context.getId());
          break;
        case DB2:
          pluginConfiguration.setConfigurationType(DB2UpsertPlugin.class.getTypeName());
          context.addPluginConfiguration(pluginConfiguration);
          if(verbose)getLog().info("enable upsert service with db2 for context " + context.getId());
          break;
        case ORACLE:
          pluginConfiguration.setConfigurationType(OracleUpsertPlugin.class.getTypeName());
          context.addPluginConfiguration(pluginConfiguration);
          if(verbose)getLog().info("enable upsert service with oracle for context " + context.getId());
          break;
        case HSQLDB:
          pluginConfiguration.setConfigurationType(HsqldbUpsertPlugin.class.getTypeName());
          context.addPluginConfiguration(pluginConfiguration);
          if(verbose)getLog().info("enable upsert service with hsqldb for context " + context.getId());
          break;
      }
    }
docs: 根据context中的driver配置检测数据库的类别，并为其添加相应的Upsert插件
  @param context