HPE NonStop SQL/MX Error – 11230 Multiple compatible methods named method-name were found in class class-name.

In this blog post, let’s learn about the error message “11230 Multiple compatible methods named method-name were found in class class-name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

11230 Multiple compatible methods named method-name were found in class class-name.

Reason for the Error

During the execution of a CREATE PROCEDURE statement, multiple SPJ methods were found in the specified Java class. Each SPJ method was named class-name.method-name and had a Java type signature matching the declared SQL parameter types. If the DYNAMIC RESULT SETS clause specified a value greater than zero, each method also had one or more trailing java.sql.ResultSet[]parameters.

Solution

You have two options. Ensure that exactly one SPJ method with the required attributes exists in the specified class file. Or, direct SQL/MX to choose a specific SPJ method by specifying that method’s Java type signature in the EXTERNAL NAME clause. Resubmit the statement

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this blog post, let’s learn about the error message “1104 Default value string is too long for column column-name.”...
  • Data
  • December 3, 2024
In this blog post, let’s learn about the error message “3165 The precision or exponent value specified in value was...
  • Data
  • December 3, 2024
In this blog post, let’s learn about the error message “2051 Either control optionoption name or value ‘value’is not valid.”...
  • Data
  • December 3, 2024