Closed
Description
Koen Serry opened SPR-12346 and commented
Sql types don't seem to propagate. I used a postgres backend (jdbc driver 9.3-1102-jdbc41) on a 9.3 backend. The table uses the inet type to store ip addresses.
This works in 4.0.6 while it doesn't seem to work in 4.1
MapSqlParameterSource paramSource = new MapSqlParameterSource().addValue("ip",e.getIp(),Types.OTHER,"inet");
jdbcTemplate.update("insert into addresses (ip) values (:ip)",paramSource);
Affects: 4.1.1
Issue Links:
- Regression in handling of String passed as Types.OTHER to JdbcTemplate [SPR-12890] #17488 Regression in handling of String passed as Types.OTHER to JdbcTemplate ("duplicates")