My Oracle Support Banner

sa_policy_admin.apply_table_policy fails with error 'ORA-12433: create trigger failed, policy not applied' (Doc ID 2439487.1)

Last updated on MARCH 02, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.  

 

SQL> connect olsuser/xxxxx
Connected.
SQL> BEGIN
 sa_policy_admin.apply_table_policy (
 POLICY_NAME => 'olspolicy1',
 SCHEMA_NAME => 'OLSUSER',
 TABLE_OPTIONS => 'READ_CONTROL,WRITE_CONTROL,CHECK_CONTROL',
 LABEL_FUNCTION => 'OLSTEST.GEN_LBAC_LABEL(:new.xx)',
TABLE_NAME => 'TEST1',
PREDICATE =>'NULL'
);
End;
/
BEGIN
*
ERROR at line 1:
ORA-12433: create trigger failed, policy not applied
ORA-06512: at "LBACSYS.LBAC_POLICY_ADMIN", line 385
ORA-06512: at line 2

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.