HPE NonStop SQL/MX Error – 11231 The method method-name(signature) was not found in or is not a public method of class-name.

In this blog post, let’s learn about the error message “11231 The method method-name(signature) was not found in or is not a public method of class-name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

11231 The method method-name(signature) was not found in or is not a public method of class-name.

Reason for the Error

During the execution of a CREATE PROCEDURE statement, the SPJ method could not be found in the specified Java class. The SPJ method must be named class-name.method-name and must have a Java type signature matching the declared SQL parameter types. If the DYNAMIC RESULT SETS clause specifies a value greater than zero, the SPJ method must also have one or more trailing java.sql.ResultSet[] parameters.

Solution

Ensure that the SPJ method exists in the specified class file, and then resubmit

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