VPD Policy Applied To Xmlschema Based Table Causes ORA-22806 with O-R Syntax
(Doc ID 761921.1)
Last updated on MARCH 05, 2019
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.1 to 184.108.40.206 [Release 10.2 to 11.1]
Information in this document applies to any platform.
This problem can occur on any platform.
You have a table with XMLTYPE columns and also a VPD Policy applied to it, for example:
n1 integer not null,
constraint pk_test_tab primary key (n1)
xmltype column x1
store as object relational
xmlschema "&v_schema" element "a"
The following query will error out:
ERROR at line 1:
ORA-22806: not an object or REF
You have added a VPD policy to this table using DBMS_RLD.ADD_POLICY.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document