Initial upgrade to R2DBC Borca

See gh-27976
This commit is contained in:
Juergen Hoeller
2022-02-04 21:09:02 +01:00
parent 9688e61e20
commit e5af4aa608
4 changed files with 10 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -52,6 +52,7 @@ public class ColumnMapRowMapper implements BiFunction<Row, RowMetadata, Map<Stri
public final static ColumnMapRowMapper INSTANCE = new ColumnMapRowMapper();
@SuppressWarnings("deprecation") // getColumnNames() is deprecated as of R2DBC 0.9
@Override
public Map<String, Object> apply(Row row, RowMetadata rowMetadata) {
Collection<String> columns = rowMetadata.getColumnNames();