AQ Notification Callback Procedure Fails To Read Data From Table when OLS policy is in place (Doc ID 1403474.1)

Last updated on FEBRUARY 01, 2012

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 11.2.0.3 - Release: 10.2 to 11.2
Information in this document applies to any platform.

Symptoms

Implemented Oracle Label Security (OLS) where a single policy is applied to multiple tables in a schema.

Required labels have been assigned to all users (including full, profile_access to schema users as required).

SQL executed on that table from an Advanced Queueing (AQ) callback procedure returns 0 rows despite the owner of the callback procedure having the correct OLS privileges to select the data. The same user can select the
data outwith the procedure.

Changes

Enabled OLS in an AQ setup which is using AQ PL/SQL Notification.

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