Deprecated Features
Review the deprecated features in Oracle Graph Server and Client.
- Creating Graphs Using Property Graph Schema
Creating a property graph in the database Using the Property Graph Schema is deprecated. Instead, you can create SQL Property Graphs or PGQL Property Graphs.
- GraphServer#getInstance API
The following
GraphServer#getInstanceAPIs are deprecated:GraphServer.getInstance(ClientConfig clientConfig, String username, char[] password, int refreshTimeBeforeTokenExpiry)GraphServer.getInstance(String baseUrl, String username, char[] password, int refreshTimeBeforeTokenExpiry)GraphServer.getInstance(String baseUrl, String kerberosTicketPath, int refreshTimeBeforeTokenExpiry)
Instead, configure the
refresh_time_before_token_expiry_secondsparameter in thepgx.conffile. - opg_apis.get_version()
The
OPG_APIS.GET_VERSION()function is deprecated and will be desupported in a future release. Instead, use OPG_APIS.GET_OPG_VERSION. - Methods deprecated for
PgqlViewGraphExpanderPgqlViewGraphExpander.schema(String)andPgqlViewGraphExpander.owner(String)are deprecated. Instead, usePgqlViewGraphExpander.fromPgView(String, String). - Graph Server (PGX) Configuration Fields
The graph server configuration fields,
server_certandserver_private_keyare deprecated. Instead, useserver_keystore. - PyPGX
- The following attributes on
Operationare now deprecated:graph_id,operation_type,cost_estimate,total_cost_estimate,cardinality_estimate,pattern_info, andchildren. Instead, use the corresponding getter methods, such asget_graph_id(),get_operation_type(), and so on. - The
pgx_versionattribute inServerInstanceclass is deprecated. Instead, useget_version(). - The attribute
pg_view_nameinPartitionedGraphConfigis deprecated. Instead, usesource_nameandsource_type(set topg_view). set_standarizeinGraphWiseModelConfigis deprecated. Instead, useset_standardize.- The return value of
PgqlResultSet.get_vertex_labelsmay or may not be a list.
- The following attributes on
- Subgraph Loading
Creating Subgraphs using filter expressions is deprecated. Instead, use Loading a Subgraph from a PGQL Property Graph.
- PgxML:
inferAndGetExplanationFunctionGraphWiseModel.inferAndGetExplanation()is deprecated. Instead, useGraphWiseModel.gnnExplainer()to obtain aGnnExplainerobject for the model and useGnnExplainer.inferAndExplain(). Pg2vecModelBuilder.setUseGraphletSize(java.lang.Boolean useGraphletSize)method inoracle.pgx.api.mllibAPI is deprecated. Instead, use thePg2vecModelBuilder.setUseGraphletSize(boolean useGraphletSize)method.- PgxML:
SupervisedGraphWiseModelBuilder.setLossFunctionFunctionSupervisedGraphWiseModelBuilder.setLossFunction(SupervisedGraphWiseModelConfig.LossFunction ...)is deprecated. Instead, useSupervisedGraphWiseModelBuilder.setLossFunction(LossFunction ...)function. - PL/SQL API OPG_APIS.GET_SCN FunctionThe PL/SQL API OPG_APIS.GET_SCN function is deprecated. Instead, to retrieve the current SCN (system change number), use the DBMS_FLASHBACK.GET_SYSTEM_CHANGE_NUMBER function:
SELECT dbms_flashback.get_system_change_number FROM DUAL;
Parent topic: Changes in This Release for This Guide