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
JdbcTemplate.newArgPreparedStatementSetter should return PreparedStatementSetter, currently it returns concrete class ArgPreparedStatementSetter. This change is be backward-compatible, since ArgPreparedStatementSetter class is package-protected, and it is unlikely that somebody has overridden the method.
Fixed for 3.0.2. Should also be backwards-compatible since overridden methods would simply narrow the return type (which they may do in Java 5 and above).
Stepan Koltsov opened SPR-6897 and commented
JdbcTemplate.newArgPreparedStatementSetter should return PreparedStatementSetter, currently it returns concrete class ArgPreparedStatementSetter. This change is be backward-compatible, since ArgPreparedStatementSetter class is package-protected, and it is unlikely that somebody has overridden the method.
Related to #8657.
Affects: 3.0.1
Referenced from: commits 4bda92f
The text was updated successfully, but these errors were encountered: