Closed
Description
Carlos Orellana Bermejo opened DATAJPA-1442 and commented
Creating a procedure like:
@NamedStoredProcedureQuery
(name = "get_error_db" , procedureName = "DB_NAME", parameters = {
@StoredProcedureParameter
(mode = ParameterMode.OUT, name = "P_ERROR", type = String.class)
and doing the calling:
@Procedure
(name = "get_error_db")
String getErrorDB();
i got this error:
Invalid mix of named and positional parameters; nested exception is java.lang.IllegalArgumentException: Invalid mix of named and positional parameters
For resolving this error I deleted the name of the parameter P_ERROR in the procedure creation. I don't know if this is a bug or this is the normal method of doing this type of query
Affects: 2.1.1 (Lovelace SR1)