Executing a Call to DBMS_JAVA.GRANT_POLICY_PERMISSION With Parameter Naming Notation Fails with: PLS-00306 (Doc ID 1559966.1)

Last updated on JULY 07, 2017

Applies to:

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

*** Checked for relevance on 07-Jul-2017 ***

Symptoms

Executing a call to DBMS_JAVA.GRANT_POLICY_PERMISSION with parameter naming notation fails with: PLS-00306 error:


 

Sample Output:

DBMS_JAVA.GRANT_POLICY_PERMISSION(
 *
ERROR at line 4:
ORA-06550: line 4, column 3:
PLS-00306: wrong number or types of arguments in call to
'GRANT_POLICY_PERMISSION'
ORA-06550: line 4, column 3:
PL/SQL: Statement ignored

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