Skip to content
Advertisement

ORA-29531: no method in class (java)

I have a java procedure inside a package in Oracle:

JavaScript

and it is defined something like this:

JavaScript

When I try to call the procedure like this:

JavaScript

it throws an error:

JavaScript

Does anybody know the problem?

Advertisement

Answer

The int primitive and the Integer class are not the same thing, so your declaration does not match the Java method. It should be:

JavaScript

Or make the Java arguments int if that is appropriate.

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement