"Parameter metadata not available for the given statement" SQL Exception after upgrading to Spring 5.0 RC4 [SPR-15977] #20528
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
type: regression
A bug that is also a regression
Milestone
Bogdan Dumitrescu opened SPR-15977 and commented
Scenario:
jdbcTemplate.update("insert into users (id, name, description) values (?, ?, ?)", id, name, description);
When trying to execute the above with Spring 5.0 RC4 we are getting a "java.sql.SQLException: Parameter metadata not available for the given statement".
The same code executes fine when using the 4.3.11.RELEASE of spring-jdbc.
Using version 5.1.44 of mysql-connector-java, we're seeing the same behaviour on the following MySQL versions:
Ver 14.14 Distrib 5.5.53
Ver 14.14 Distrib 5.7.18-15
Affects: 5.0 RC4
Attachments:
Issue Links:
The text was updated successfully, but these errors were encountered: