You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed for 4.1.3 now, making it consistent with Map<String, ?> declarations in NamedParameterJdbcTemplate and many other places. It was simply an oversight that SimpleJdbcInsert was more restrictive there.
However, note that we are only doing this for incoming parameters (being lenient for what we accept) while we're still declaring concrete value types for Maps returned from Spring API methods.
While being at it, I've done a somewhat larger revision of related JDBC accessor code, e.g. also consistently using LinkedHashMap for adapting incoming parameters (preserving a user-specified order when coming from vararg arrays in particular, even if just for logging purposes).
The Alchemist opened SPR-12462 and commented
Description
I would like to do something like:
However, this doesn't work because
SimpleJdbcInsertOperations
takesMap<String, Object
as an argument for its methods instead ofMap<String, ?>
.GitHub Pull Request Link
#700
Affects: 4.1.2
The text was updated successfully, but these errors were encountered: