cannot Retrieve Arguments for a Standalone Stored Procedure when a Packaged Procedure also Exists (Doc ID 2085768.1)

Last updated on MARCH 08, 2017

Applies to:

JDBC - Version 12.1.0.2.0 and later
Information in this document applies to any platform.

Symptoms

If there is a package with a procedure called PROC in a schema, and also a standalone procedure called PROC in the same schema, then users who are not owners of the schema can not retrieve metadata about the procedure arguments using java.sql.DatabaseMetadata.
EXECUTE is granted to PUBLIC on both the package and the procedure.

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