My Oracle Support Banner

Oracle JDBC Driver 19c DatabaseMetaData getFunctionColumns Method Returns Wrong Column Count (Doc ID 2724009.1)

Last updated on AUGUST 09, 2023

Applies to:

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


Given a PL/SQL function like this :

The getFunctionColumns method is supposed to return three records: one to describe the return type of the function, and two others records for each of the parameters.
But it returns wrong number of records.

The result may contain duplicate records:
DatabaseMetaData getFunctionColumns shows duplicate results when querying information about a function inside a package that contains other functions or procedures.

There is one extra set of results for each extra function or procedure in the PL/SQL package.


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

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