Affects Version/s: 5.2.0
Fix Version/s: 5.2.0
Last commented by a user?:true
Now that stored procedure tests have been added, I noticed that on 5.2.0 neither one of the REFCURSOR tests works anymore.
To replicate it, first set up tests to run on PostgreSQL:
Then run the org.hibernate.test.procedure.PostgreSQLStoredProcedureTest#testStoredProcedureOutParameter test.
You'll get the following error:
Because the input parameters are doubled:
Even if there were only two registrations:
Most likely, the issue comes from ProcedureCallImpl where in the registerStoredProcedureParameter method, the registerParameter method is called twice: