George Papadopoulos
ac80e51425
Use awaitSingle operator instead of awaitFirst.
...
Operators `awaitFirstXxx` are going to be deprecated. Also, awaitFirst operator has no value on Mono types.
Closes : #1355
Signed-off-by: George Papadopoulos <george.719pap@gmail.com>
3 years ago
Mark Paluch
bc70b0d435
Polishing.
...
Reformat code.
See #1512
Original pull request: #1513
3 years ago
Jens Schauder
e0a0bb2b5d
Do not prefix unsafe orer by expressions with table prefix.
...
Such expressions now get passed on unchanged.
This also deprecates org.springframework.data.r2dbc.query.QueryMapper.getMappedObject(Sort, RelationalPersistentEntity<?>).
It was only used in tests and translates an Order into another Order, which sounds wrong.
Closes #1512
Original pull request: #1513
3 years ago
Christoph Strobl
999124763d
Prepare next development iteration.
...
See #1498
3 years ago
Christoph Strobl
69ce8b7edf
Release version 3.1 GA (2023.0.0).
...
See #1498
3 years ago
Jens Schauder
a26557e76b
Introduce SqlSort.
...
SqlSort allows the specification of unsafe order-by-expressions.
Order-by-expressions that are not declared unsafe are only accepted when they
either match a property or consist only of digits, letters, underscore, dot, or parentheses.
Closes #1507
3 years ago
Oleg Oshmyan
15980174af
Remove unnecessary reification from Kotlin R2DBC extensions.
...
This allows calling the extensions from generic code that has erased types.
Original pull request #1496
3 years ago
Greg L. Turnquist
ffefc99e2e
Prepare next development iteration.
...
See #1456
3 years ago
Greg L. Turnquist
4fd5d6c81d
Release version 3.1 RC1 (2023.0.0).
...
See #1456
3 years ago
Mikhail2048
e106b2099b
Migrated off deprecated PropertyPath methods.
...
Closes #1489
3 years ago
Mark Paluch
44f77215bf
Reinstate integration tests for R2DBC MySQL.
...
Closes #1475
3 years ago
Greg L. Turnquist
ccd7f19073
Test against Java 20 on CI.
...
See #1462 .
3 years ago
Jens Schauder
58a67ceb2a
Polishing.
...
Added `@author` tags.
Undo the change in behaviour of getReference(IdentifierProcessing).
See #1110
Original pull request #1458
3 years ago
Kurt Niemi
18eda61f15
Deprecate redundant getReference(IdentifierProcessing) method.
...
Closes #1110
Original pull request #1458
3 years ago
Christoph Strobl
0bfed4042d
Prepare next development iteration.
...
See #1430
3 years ago
Christoph Strobl
3ff271f100
Release version 3.1 M3 (2023.0.0).
...
See #1430
3 years ago
Mark Paluch
7341a02345
Reinstate support for mariadb-r2dbc.
...
Closes #1364
3 years ago
Mark Paluch
637d06a9a0
Apply custom converter for Collection-like values in queries.
...
We now apply converters only for Collection-like values and no longer to Iterable types.
Closes #1452
3 years ago
Jens Schauder
c7e7f3eced
Reenable DependencyTests.
...
Closes #1441
3 years ago
Christoph Strobl
eac53196b6
Prepare next development iteration.
...
See #1429
3 years ago
Christoph Strobl
0cca3e817e
Release version 3.1 M2 (2023.0.0).
...
See #1429
3 years ago
Christoph Strobl
1290cff7c0
Prepare next development iteration.
...
See #1389
3 years ago
Christoph Strobl
8f4945c402
Release version 3.1 M1 (2023.0.0).
...
See #1389
3 years ago
Mark Paluch
91697b9b6e
Upgrade to R2DBC Postgresql 1.0.1.RELEASE.
...
Closes #1425
3 years ago
Mark Paluch
761f0087c8
Remove superfluous `Arrays.fill(…)` from `ArrayUtils.getArrayClass(…)`.
...
Closes #1420
3 years ago
Mark Paluch
eed7c9dcf7
Fix BLOB reading and writing.
...
We now correctly consider ByteBuffer, Clob, and Blob types as additional types to read and write blob data.
Closes #1408
3 years ago
Mark Paluch
3045225207
Extend license header copyright years to 2023.
...
See #1400
3 years ago
Jens Schauder
9d5c11e670
Upgrade postgres JDBC to 42.4.3.
...
Also remove separate postgresql version for R2DBC.
Closes #1390
3 years ago
Mark Paluch
8ed08e5e8e
Prepare next development iteration.
...
See #1361
3 years ago
Mark Paluch
c244985b56
Release version 3.0 GA (2022.0.0).
...
See #1361
3 years ago
Christoph Strobl
5fbc68ef87
Add Nullable annotation to parameter of overridden equals method.
...
Closes #1374
Original pull request #1375
3 years ago
Mark Paluch
ae1bb6a448
Fix empty collection conversion.
...
We now consider the target type for empty collections.
Closes #1379
3 years ago
Mark Paluch
c7856d9fbb
Upgrade to R2DBC drivers 1.0 GA.
...
Closes #1378
3 years ago
Jens Schauder
5349fde133
Replace New and Noteworthy with links to release notes.
...
Closes #1351
Original pull request #1352
See spring-projects/spring-data-commons#2723
3 years ago
Mark Paluch
dac1729713
Prepare next development iteration.
...
See #1366
3 years ago
Mark Paluch
06e40a3f30
Release version 3.0 RC2 (2022.0.0).
...
See #1366
3 years ago
Mark Paluch
541eee7c8b
Guard integration tests against known not-working OS variants.
...
Closes #1371
3 years ago
Mark Paluch
61dcc5168b
Prepare next development iteration.
...
See #1333
3 years ago
Mark Paluch
99ac540555
Release version 3.0 RC1 (2022.0.0).
...
See #1333
3 years ago
Jens Schauder
58bf5566b6
Dependency tests are now based on ArchUnit.
...
Replaced ignored tests with exclusion of packages and classes.
Upgraded ArchUnit dependency to 1.0.0.
Closes #1354
3 years ago
Jens Schauder
6bdc7db24b
Offer a proper replacement for NamingStrategy.INSTANCE.
...
Closes #1350
3 years ago
Mark Paluch
795e244511
Polishing.
...
Do not expose setForeignKeyNaming methods on NamingStrategy to make less assumptions about how a naming strategy gets implemented. Provide getRequiredLeafEntity method on PersistentPropertyPathExtension to reduce null and state assertion checks.
Refine getTableName/getQualifiedTableName approach to reduce API surface and avoid deprecations.
See #1147
Original pull request: #1324 .
3 years ago
Jens Schauder
40446f9ca9
The back reference generation is now configurable.
...
The default version is the behavior that existed so far:
The back reference is the table name as generated by the `NamingStrategy` without taking `@Table` annotations into account.
The new alternative is to take `@Table` into account.
The behavior can be configured by setting the `foreignKeyNaming` property on the `RelationalMappingContext`.
Closes #1161
Closes #1147
Original pull request: #1324 .
3 years ago
Jens Schauder
004804aad8
Introduce `@InsertOnlyProperty`.
...
You may now annotate properties of the aggregate root with `@InsertOnlyProperty`.
Properties annotated in such way will be written to the database only during insert operations, but they will not be updated afterwards.
Closes #637
Original pull request #1327
3 years ago
Jens Schauder
e171d4b91b
Remove non-Javadoc comments.
...
These are no longer serve their purpose.
Closes #1347
3 years ago
Jens Schauder
ea00369f07
Add support for factory methods.
...
R2DBC now supports the use of factory methods for entity creation.
Spring Data JDBC already does so via f326897950
Simply annotate a static factory method on your entity class with `@PersistenceCreator`.
Closes #1346
See https://github.com/spring-projects/spring-data-commons/issues/2476
See f326897950
3 years ago
Jens Schauder
f326897950
Removed deprecations.
...
Removed deprecated API and usasage of deprecated API.
Closes #1340
3 years ago
Spring Builds
3ab0731fe4
Prepare next development iteration.
...
See #1295
3 years ago
Spring Builds
22618431d8
Release version 3.0 M6 (2022.0.0).
...
See #1295
3 years ago
Mark Paluch
3f1dab93e4
Adopt to changed Mockk artifact name.
...
Closes #1326
3 years ago