Skip to content

Backward compatibility broken with SimpleJdbcOperations.query() methods [SPR-5837] #10507

@spring-projects-issues

Description

@spring-projects-issues

Dave Syer opened SPR-5837 and commented

Backward compatibility broken with SimpleJdbcOperations.query() methods. This appeared after M3, but before RC1.

SimpleJdbcOperations method signatures do not refer to ParameterizedRowMapper any more (even though the interface still exists). This is fine for new code, but if I depend on a library that was compiled with the old signature (e.g. Spring Batch 2.0), I get a NoSuchMethodError at runtime, even if my code doesn't use the method at all.


Affects: 3.0 M4

Referenced from: commits 11bf19a

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)type: bugA general bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions