-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancementA general enhancement
Milestone
Description
Philippe Marschall opened SPR-16361 and commented
NamedParameterJdbcOperations
supports passing in custom implementations of SqlParameterSource
. Unfortunately doing so silently breaks. The issue is that SqlParameterSource
offers no way of accessing the names of the parameters so SqlParameterSourceUtils#extractCaseInsensitiveParameterNames
has to cast to the implementation classes BeanPropertySqlParameterSource
and MapSqlParameterSource
. For any other implementation class an empty map is returned.
Affects: 5.0.2
Issue Links:
- NamedParameterJdbcTemplate fails on PostgreSQL array [SPR-16340] #20887 NamedParameterJdbcTemplate fails on PostgreSQL array
- SqlParameterSourceUtils.createBatch with Collection support [SPR-16215] #20763 SqlParameterSourceUtils.createBatch with Collection support
- Expose parameter names from ParsedSql [SPR-16211] #20759 Expose parameter names from ParsedSql
Metadata
Metadata
Assignees
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)type: enhancementA general enhancementA general enhancement