Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle Flashback Query & VPD Protected Tables

DuncsDec 19 2019 — edited Dec 21 2019

I have been playing around with Oracle Flashback Query in order to move to a more out the box set of functions for data auditing over our custom table and trigger approach.

All is working really well so far but I have a question about VPD protected tables.

If within my schema, I have a VPD protected table called PERSON, when I connect as SQL*Plus and issue:

SELECT *

FROM person;

Then I get 0 rows returned (as expected). Data is only returned once my application contexts are set up (an APEX Application does this).

If however I run via SQL*Plus:

SELECT *

   FROM person AS OF TIMESTAMP SYSDATE-3;

The I get to see all data.

Is there any way of configuring Oracle Flashback Query to respect, in-play table VPD Policies?

Thanks for any help.

Duncs

Comments
Post Details
Added on Dec 19 2019
16 comments
1,228 views