@Override
    public String getJdbcUrl(JdbcSourceConfig sourceConfig) {
        OracleSourceConfig oracleSourceConfig = (OracleSourceConfig) sourceConfig;
        if (StringUtils.isNotBlank(oracleSourceConfig.getUrl())) {
            return oracleSourceConfig.getUrl();
        } else {
            String hostName = sourceConfig.getHostname();
            int port = sourceConfig.getPort();
            String database = sourceConfig.getDatabaseList().get(0);
            return String.format(JDBC_URL_PATTERN, hostName, port, database);
        }
    }
A Oracle datasource factory.
 Copy from com.ververica:flink-connector-oracle-cdc:2.3.0
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/oracle-cdc/src/main/java/org/apache/inlong/sort/cdc/oracle/source/OraclePooledDataSourceFactory.java