Commit Graph

711 Commits

Author SHA1 Message Date
Mark Paluch
5c8dc09dc0 Fix COUNT/EXISTS projections for entities without an identifier.
We now issue a COUNT(1) respective SELECT 1 for COUNT queries and EXISTS queries for entities that do not specify an identifier.

Previously these query projections could fail because of empty select lists.

Closes #773
2022-08-18 11:54:24 +02:00
Mark Paluch
dd2d94e2bd Retain element ordering in entity callbacks.
We now use concatMap on result Fluxes to retain the object order. Previously, we used flatMap on a flux that has led to changes in element ordering.

Closes #777
2022-08-16 11:19:44 +02:00
Mark Paluch
39216db553 Fix parameter binding of reused named parameters using anonymous bind markers.
We now properly bind values for reused named parameters correctly when using anonymous bind markers (e.g. ? for MySQL). Previously, the subsequent usages of named parameters especially with IN parameters were left not bound.

Closes #778
2022-08-16 11:11:33 +02:00
Christoph Strobl
b30a9d4b5e After release cleanups.
See #764
2022-07-15 11:24:07 +02:00
Christoph Strobl
a84d52c129 Prepare next development iteration.
See #764
2022-07-15 11:24:04 +02:00
Christoph Strobl
d928dd315f Release version 1.5.2 (2021.2.2).
See #764
2022-07-15 11:08:27 +02:00
Christoph Strobl
2d110063ff Prepare 1.5.2 (2021.2.2).
See #764
2022-07-15 11:07:50 +02:00
Mark Paluch
c337cd82a7 After release cleanups.
See #759
2022-06-20 11:40:06 +02:00
Mark Paluch
a5dacb072a Prepare next development iteration.
See #759
2022-06-20 11:40:04 +02:00
Mark Paluch
3e9e83465a Release version 1.5.1 (2021.2.1).
See #759
2022-06-20 11:29:29 +02:00
Mark Paluch
787daa0789 Prepare 1.5.1 (2021.2.1).
See #759
2022-06-20 11:29:05 +02:00
Mark Paluch
4413199db4 Upgrade to Maven Wrapper 3.8.5.
See #760
2022-06-03 09:39:38 +02:00
Mark Paluch
124d50dd7a Update CI properties.
See #759
2022-06-03 09:34:35 +02:00
Christoph Strobl
770a0abf54 After release cleanups.
See #753
2022-05-13 10:15:12 +02:00
Christoph Strobl
ce3f53f58b Prepare next development iteration.
See #753
2022-05-13 10:15:09 +02:00
Christoph Strobl
9c705fe11f Release version 1.5 GA (2021.2.0).
See #753
2022-05-13 10:05:06 +02:00
Christoph Strobl
af1c427779 Prepare 1.5 GA (2021.2.0).
See #753
2022-05-13 10:04:20 +02:00
Robert Heim
6583fe03f2 Do not override existing limit in R2dbcEntityTemplate.selectOne.
Closes #758
2022-04-29 11:08:51 +02:00
Mark Paluch
386e04bee3 Deprecate R2dbcConverters.getOverrideConvertersToRegister() and its converters.
…OverrideConverters are no longer required as converters are filtered using ConverterConfiguration.

Closes #750
2022-04-20 14:26:14 +02:00
Mark Paluch
f5d374ac7b Use Spring Data JDBC version property for Spring Data Relational dependencies.
Closes #754
2022-04-19 11:58:46 +02:00
Christoph Strobl
9270c737de After release cleanups.
See #744
2022-04-19 11:21:17 +02:00
Christoph Strobl
59d4ebc0a3 Prepare next development iteration.
See #744
2022-04-19 11:21:15 +02:00
Christoph Strobl
cb8aed1186 Release version 1.5 RC1 (2021.2.0).
See #744
2022-04-19 11:10:54 +02:00
Christoph Strobl
7cd74048ad Prepare 1.5 RC1 (2021.2.0).
See #744
2022-04-19 11:10:14 +02:00
Mark Paluch
4c16757406 Update build triggers.
See #744
2022-03-23 13:56:35 +01:00
Greg L. Turnquist
fa68ad3b42 After release cleanups.
See #725
2022-03-21 10:20:32 -05:00
Greg L. Turnquist
378787bb08 Prepare next development iteration.
See #725
2022-03-21 10:20:30 -05:00
Greg L. Turnquist
6b758abf22 Release version 1.5 M4 (2021.2.0).
See #725
2022-03-21 10:09:33 -05:00
Greg L. Turnquist
1da1b3308c Prepare 1.5 M4 (2021.2.0).
See #725
2022-03-21 10:07:09 -05:00
Mark Paluch
c95dba2022 Disable package cycle tests.
Property Converters introduced a cycle so we're disabling the tests for now as we cannot resolve these from here.

See #725
2022-03-21 08:51:05 +01:00
Mark Paluch
70f87efed5 Upgrade to netty 4.1.75.Final.
See #740
2022-03-18 08:41:08 +01:00
Mark Paluch
1c8ad4c291 Upgrade to R2DBC Borca-SR1.
Closes #740
2022-03-18 08:40:38 +01:00
Mark Paluch
6dcf03372c Use Java 8 to build snapshots for Artifactory.
Closes #726
2022-03-15 14:34:37 +01:00
Mark Paluch
2b0d9823e6 Correctly apply bind value for isTrue/isFalse criteria.
We now translate isTrue/isFalse criteria values if their actual value is not provided.

The more correct approach would be setting a value in Criteria.

Closes #733
2022-02-28 15:10:25 +01:00
Jens Schauder
09c0fc8883 Polishing.
Standardized GitHub references of tests.

Original pull request spring-projects/spring-data-r2dbc/pull/691
2022-02-23 10:33:21 +01:00
Jens Schauder
859c01162a Polishing.
Refactored the assertions towards a custom assertion class, taking care of limited parsing of the generated SQL statements.

Original pull request spring-projects/spring-data-r2dbc/pull/691
2022-02-23 10:27:04 +01:00
Auzel
2d53c3fcce Fixes flaky tests in PartTreeR2dbcQueryUnitTests.java
The order of selected columns depended on the nondeterministic behavior of getDeclaredFields.

Original pull request spring-projects/spring-data-r2dbc/pull/691
2022-02-23 10:26:50 +01:00
Mark Paluch
06e2ae63a7 Update CI properties.
See #725
2022-02-22 14:09:31 +01:00
Mark Paluch
20b563eabf Upgrade to Maven Wrapper 3.8.4.
See #730
2022-02-22 13:56:51 +01:00
Mark Paluch
dec68d7eea Polishing.
Externalize artifactory credentials identifier.

See #726
2022-02-22 10:15:21 +01:00
Mark Paluch
7089b56de4 Use Java 17 to build snapshots for Artifactory.
Closes #726
2022-02-22 10:15:21 +01:00
Mark Paluch
288668ae9d After release cleanups.
See #709
2022-02-18 11:15:41 +01:00
Mark Paluch
2c40df7b6a Prepare next development iteration.
See #709
2022-02-18 11:15:39 +01:00
Mark Paluch
ac0c85f242 Release version 1.5 M3 (2021.2.0).
See #709
2022-02-18 11:09:10 +01:00
Mark Paluch
3a64e3b1b9 Prepare 1.5 M3 (2021.2.0).
See #709
2022-02-18 11:08:46 +01:00
Christoph Strobl
6803115e9d Update copyright year to 2022.
See: #722
2022-02-17 14:40:16 +01:00
dependabot[bot]
39805da536 Upgrade to Postgres driver 42.3.3.
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.25 to 42.3.3.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.2.25...REL42.3.3)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:development
...

See #721
Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-16 16:04:34 +01:00
Oliver Drotbohm
b2d5a1f35c Adapt to changes in entity creation metadata APIs in Spring Data Commons. 2022-02-15 16:08:38 +01:00
Greg L. Turnquist
3134555e4f Update CI properties.
See #709
2022-02-15 08:59:51 -06:00
dependabot[bot]
43fd5af21e Upgrade postgresql to 42.2.25.
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.5 to 42.2.25.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.2.5...REL42.2.25)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Closes #716
2022-02-10 10:55:37 +01:00