/** * Returns database specific options using an existing SchemaCrawler * database plugin. * * @return SchemaRetrievalOptions * @throws SchemaCrawlerException * On an exception. */ public static SchemaRetrievalOptions matchSchemaRetrievalOptions(final Connection connection) throws SchemaCrawlerException { final SchemaRetrievalOptionsBuilder schemaRetrievalOptionsBuilder = buildSchemaRetrievalOptions(connection); final SchemaRetrievalOptions schemaRetrievalOptions = schemaRetrievalOptionsBuilder .toOptions(); return schemaRetrievalOptions; }
/** * Returns database specific options using an existing SchemaCrawler * database plugin. * * @return SchemaRetrievalOptions * @throws SchemaCrawlerException * On an exception. */ public static SchemaRetrievalOptions matchSchemaRetrievalOptions(final Connection connection) throws SchemaCrawlerException { final SchemaRetrievalOptionsBuilder schemaRetrievalOptionsBuilder = buildSchemaRetrievalOptions(connection); final SchemaRetrievalOptions schemaRetrievalOptions = schemaRetrievalOptionsBuilder .toOptions(); return schemaRetrievalOptions; }
/** * Returns database specific options using an existing SchemaCrawler * database plugin. * * @return SchemaRetrievalOptions * @throws SchemaCrawlerException * On an exception. */ public static SchemaRetrievalOptions matchSchemaRetrievalOptions(final Connection connection) throws SchemaCrawlerException { final SchemaRetrievalOptionsBuilder schemaRetrievalOptionsBuilder = buildSchemaRetrievalOptions(connection); final SchemaRetrievalOptions schemaRetrievalOptions = schemaRetrievalOptionsBuilder .toOptions(); return schemaRetrievalOptions; }