mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-29 18:59:03 +00:00
Fix nullability annotation in JdbcTemplate
Signed-off-by: Manu Sridharan <msridhar@gmail.com>
This commit is contained in:
committed by
Juergen Hoeller
parent
394a97d7e0
commit
8a1a9d2ab2
@@ -1578,7 +1578,7 @@ public class JdbcTemplate extends JdbcAccessor implements JdbcOperations {
|
||||
ResultSet keys = ps.getGeneratedKeys();
|
||||
if (keys != null) {
|
||||
try {
|
||||
RowMapperResultSetExtractor<Map<String, Object>> rse =
|
||||
RowMapperResultSetExtractor<Map<String, @Nullable Object>> rse =
|
||||
new RowMapperResultSetExtractor<>(getColumnMapRowMapper(), rowsExpected);
|
||||
generatedKeys.addAll(result(rse.extractData(keys)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user