Calls to getParameterMetaData Result in ORA-904 Errors in SYS.AUD$
(Doc ID 2749918.1)
Last updated on OCTOBER 17, 2022
Applies to:JDBC - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
Using any currently-supported JDBC driver against a 19c database results in the following error in the SYS.AUD$ table:
ORA-904: invalid identifier
This happens when a call in the Java code is made to stmt.getParameterMetaData().
The problem doesn't occur if this method call is removed.
This has no impact on the Java program; it runs without error and does not result in an application-side error; the error appears only in the server-side SYS.AUD$ table, when auditing is enabled, such as from the following instruction:
audit execute procedure whenever not successful;
The error is seen when running the following query:
select userid, returncode, obj$creator, obj$name, sqltext from sys.aud$;
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