ORA-13199: RDFView Model(s) Not Allowed Error When Creating Virtual Model On An RDFView (Doc ID 1992861.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Spatial and Graph - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

Trying to create a Virtual Model on an RDFView model

BEGIN
 sem_apis.create_rdfview_model(
 model_name => 'empdb_model',
 tables => SYS.ODCIVarchar2List('EMP', 'DEPT'),
 prefix => 'http://empdb/',
 options => 'KEY_BASED_REF_PROPERTY=T'
);
END;
/

execute SEM_APIS.CREATE_VIRTUAL_MODEL('TMP_MODEL',SEM_MODELS('EMPDB_MODEL'));

*
ERROR at line 1:
ORA-13199: RDFView model(s) not allowed: EMPDB_MODEL
ORA-06512: at "MDSYS.MD", line 1723
ORA-06512: at "MDSYS.MDERR", line 17
ORA-06512: at "MDSYS.RDF_APIS_INTERNAL", line 1856
ORA-06512: at "MDSYS.SDO_RDF_INTERNAL", line 12438
ORA-06512: at "MDSYS.SDO_RDF", line 1988
ORA-06512: at "MDSYS.RDF_APIS", line 1247
ORA-06512: at line 1

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms