Michael
05/11/2018, 6:21 PMKotlin: Expected type does not accept nulls in Java, but the value may be null in Kotlin around a MapSqlParameterSource("key", null) - but the value can be null, as far as I can tell.nfrankel
05/11/2018, 9:54 PM@NotNull annotations?todd.ginsberg
05/12/2018, 1:21 AMMapSqlParameterSource doesn't have its @Nullable annotation set properly. But if you think about it, the reason that class exists is because there's no elegant way to express Maps in Java. But in Kotlin we have mapOf("key" to null), which works as an argument to NamedParameterJdbcTemplate (assuming that's where you are using this).Michael
05/14/2018, 1:50 PMMapSqlParameterSource from it, rather than using the addValue on the MSPS. That makes sense!Michael
05/14/2018, 1:51 PMsetItemSqlParameterSourceProvider or a setItemPreparedStatementSetter. 📯