public OracleCatalogLoader() { super(OracleDatabaseConnector.DB_SERVER_TYPE.getDatabaseSystemIdentifier()); }
@Override public int compareTo(final DatabaseServerType other) { if (this == other) { return 0; } else if (other == null) { return -1; } else if (other.isUnknownDatabaseSystem() && !isUnknownDatabaseSystem()) { return 1; } else if (!other.isUnknownDatabaseSystem() && isUnknownDatabaseSystem()) { return -1; } else { return getDatabaseSystemIdentifier() .compareTo(other.getDatabaseSystemIdentifier()); } }
@Override public int compareTo(final DatabaseServerType other) { if (this == other) { return 0; } else if (other == null) { return -1; } else if (other.isUnknownDatabaseSystem() && !isUnknownDatabaseSystem()) { return 1; } else if (!other.isUnknownDatabaseSystem() && isUnknownDatabaseSystem()) { return -1; } else { return getDatabaseSystemIdentifier() .compareTo(other.getDatabaseSystemIdentifier()); } }
.getDatabaseServerType().getDatabaseSystemIdentifier(); try
private Catalog loadCatalog() throws Exception { final CatalogLoaderRegistry catalogLoaderRegistry = new CatalogLoaderRegistry(); final CatalogLoader catalogLoader = catalogLoaderRegistry .lookupCatalogLoader(schemaRetrievalOptions.getDatabaseServerType() .getDatabaseSystemIdentifier()); LOGGER .log(Level.CONFIG, new StringFormat("Catalog loader: %s", this.getClass().getName())); catalogLoader.setAdditionalConfiguration(additionalConfiguration); catalogLoader.setConnection(connection); catalogLoader.setSchemaRetrievalOptions(schemaRetrievalOptions); catalogLoader.setSchemaCrawlerOptions(schemaCrawlerOptions); final Catalog catalog = catalogLoader.loadCatalog(); requireNonNull(catalog, "Catalog could not be retrieved"); return catalog; }
public OracleCatalogLoader() { super(OracleDatabaseConnector.DB_SERVER_TYPE.getDatabaseSystemIdentifier()); }
@Override public int compareTo(final DatabaseServerType other) { if (this == other) { return 0; } else if (other == null) { return -1; } else if (other.isUnknownDatabaseSystem() && !isUnknownDatabaseSystem()) { return 1; } else if (!other.isUnknownDatabaseSystem() && isUnknownDatabaseSystem()) { return -1; } else { return getDatabaseSystemIdentifier() .compareTo(other.getDatabaseSystemIdentifier()); } }
@Override public int compareTo(final DatabaseServerType other) { if (this == other) { return 0; } else if (other == null) { return -1; } else if (other.isUnknownDatabaseSystem() && !isUnknownDatabaseSystem()) { return 1; } else if (!other.isUnknownDatabaseSystem() && isUnknownDatabaseSystem()) { return -1; } else { return getDatabaseSystemIdentifier() .compareTo(other.getDatabaseSystemIdentifier()); } }
.getDatabaseServerType().getDatabaseSystemIdentifier(); try
.getDatabaseServerType().getDatabaseSystemIdentifier(); try
private Catalog loadCatalog() throws Exception { final CatalogLoaderRegistry catalogLoaderRegistry = new CatalogLoaderRegistry(); final CatalogLoader catalogLoader = catalogLoaderRegistry .lookupCatalogLoader(schemaRetrievalOptions.getDatabaseServerType() .getDatabaseSystemIdentifier()); LOGGER .log(Level.CONFIG, new StringFormat("Catalog loader: %s", this.getClass().getName())); catalogLoader.setAdditionalConfiguration(additionalConfiguration); catalogLoader.setConnection(connection); catalogLoader.setSchemaRetrievalOptions(schemaRetrievalOptions); catalogLoader.setSchemaCrawlerOptions(schemaCrawlerOptions); final Catalog catalog = catalogLoader.loadCatalog(); requireNonNull(catalog, "Catalog could not be retrieved"); return catalog; }
private Catalog loadCatalog() throws Exception { final CatalogLoaderRegistry catalogLoaderRegistry = new CatalogLoaderRegistry(); final CatalogLoader catalogLoader = catalogLoaderRegistry .lookupCatalogLoader(schemaRetrievalOptions.getDatabaseServerType() .getDatabaseSystemIdentifier()); LOGGER .log(Level.CONFIG, new StringFormat("Catalog loader: %s", this.getClass().getName())); catalogLoader.setAdditionalConfiguration(additionalConfiguration); catalogLoader.setConnection(connection); catalogLoader.setSchemaRetrievalOptions(schemaRetrievalOptions); catalogLoader.setSchemaCrawlerOptions(schemaCrawlerOptions); final Catalog catalog = catalogLoader.loadCatalog(); requireNonNull(catalog, "Catalog could not be retrieved"); return catalog; }