CallMetaDataContext.reconcileParameters doesn't catch output parameters with DatabaseMetaData.procedureColumnResult type (on Postgres) [SPR-16611] #21152
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
status: backported
An issue that has been backported to maintenance branches
type: bug
A general bug
Milestone
Ivan Vasilev opened SPR-16611 and commented
I added a comment here but I think, it'll be better to create a new issue.
I use spring-jdbc with postgres driver. To call stored procedure which returns a table row, I use the following code:
It produces following exception:
It wants me insert an output parameter.
I searched a little and found following:
I created a sample project (in attachment). It uses Flyway to initialize and Testcontainers to use real postgres db. Change driver name and url if you do not want to use docker.
Affects: 4.3.13
Attachments:
Issue Links:
Referenced from: commits b7c4238, 301ba01
Backported to: 4.3.15
The text was updated successfully, but these errors were encountered: