code: void choosePaginationPlugin(Context context) {
      DatabaseType type = detectDB(context);
      PluginConfiguration pluginConfiguration = new PluginConfiguration();
      switch (type) {
        case MYSQL:
          pluginConfiguration.setConfigurationType(MySqlPaginationPlugin.class.getTypeName());
          context.addPluginConfiguration(pluginConfiguration);
          if (verbose) getLog().info("enable pagination service with mysql for context " + context.getId());
          break;
        case POSTGRESQL:
          pluginConfiguration.setConfigurationType(PostgreSQLPaginationPlugin.class.getTypeName());
          context.addPluginConfiguration(pluginConfiguration);
          if (verbose) getLog().info("enable pagination service with postgresql for context " + context.getId());
          break;
        case SQLSERVER:
          pluginConfiguration.setConfigurationType(SQLServerPaginationPlugin.class.getTypeName());
          context.addPluginConfiguration(pluginConfiguration);
          if (verbose) getLog().info("enable pagination service with sqlserver for context " + context.getId());
          break;
        case DB2:
          pluginConfiguration.setConfigurationType(DB2PaginationPlugin.class.getTypeName());
          context.addPluginConfiguration(pluginConfiguration);
          if (verbose) getLog().info("enable pagination service with db2 for context " + context.getId());
          break;
        case ORACLE:
          pluginConfiguration.setConfigurationType(OraclePaginationPlugin.class.getTypeName());
          context.addPluginConfiguration(pluginConfiguration);
          if (verbose) getLog().info("enable pagination service with oracle for context " + context.getId());
          break;
        case HSQLDB:
          pluginConfiguration.setConfigurationType(HsqldbPaginationPlugin.class.getTypeName());
          context.addPluginConfiguration(pluginConfiguration);
          if (verbose) getLog().info("enable pagination service with hsqldb for context " + context.getId());
          break;
      }
    }
docs: 根据context中的driver配置检测数据库的类别，并为其添加相应的分页插件
  
  @param context