Commit Graph

2154 Commits

Author SHA1 Message Date
Mark Paluch
2df8c2fb76 Use ReactivePageableExecutionUtils from Spring Data Commons.
Closes #1946
2024-11-21 09:01:51 +01:00
Jens Schauder
6eed53fd3c Remove code duplication.
Mainly reimplements the changes undone in 49e343fe8a.
The check for presence of the ID property is implemented for all variants for save, as it should.

See #1924
Original pull request #1925
2024-11-18 13:28:06 +01:00
Mark Paluch
30241c8b6c After release cleanups.
See #1916
2024-11-15 14:13:09 +01:00
Mark Paluch
ff6717a0bd Prepare next development iteration.
See #1916
2024-11-15 14:13:08 +01:00
Mark Paluch
2bda8fec26 Release version 3.4 GA (2024.1.0).
See #1916
2024-11-15 14:10:52 +01:00
Mark Paluch
d08f90d715 Prepare 3.4 GA (2024.1.0).
See #1916
2024-11-15 14:10:37 +01:00
Mark Paluch
ddb4b2d7ef Polishing.
Reduce test class and method visibility.

See #1939
2024-11-14 11:32:46 +01:00
Mark Paluch
a4c462ec99 Correctly apply Sorting of unpaged Pageable.
Closes #1939
2024-11-14 11:32:46 +01:00
Mark Paluch
a164871c5e Update CI Properties.
See #1916
2024-11-07 09:57:36 +01:00
Mark Paluch
49f326b559 Update CI Properties.
See #1916
2024-11-07 09:56:12 +01:00
Mark Paluch
1b215e5daa Upgrade to Maven Wrapper 3.9.9.
See #1926
2024-11-07 09:47:30 +01:00
Jens Schauder
49e343fe8a Fix Callback order.
This undos the changes to `JdbcAggregateTemplate` done by 7cf81ae.
Since we are in the RC phase I opt against trying to redo the refactoring

Closes #1924
2024-10-29 09:47:31 +01:00
Jens Schauder
a351a66fcb Polishing.
Using records in tests.
Removing "public" modifier in tests.

See #1924
2024-10-29 09:47:31 +01:00
Mark Paluch
305f675ba8 Polishing.
Use correct annotations.

See #1883
2024-10-29 09:32:01 +01:00
Jens Schauder
593d73ab16 Fix SQL generation for query with sorting.
Closes #1919
2024-10-25 15:24:23 +02:00
Mark Paluch
73e503338d Polishing.
Eliminate potential NoSuchElementException from unchecked Optional.get usage. Simplify stream. Return Staged value, fix Nullability annotations.

See #1907
Original pull request: #1920
2024-10-25 14:56:54 +02:00
Jens Schauder
a7d7adaaf2 Fix id setting for partial updates of collections of immutable types.
We gather immutable entities of which the id has changed, in order to set them as values in the parent entity.
We now also gather unchanged entities.
So they get set with the changed one in the parent.

Closes #1907
Original pull request: #1920
2024-10-25 14:56:54 +02:00
Roland Weisleder
52fdadde44 Fix typo in documentation.
Original pull request #1918
2024-10-22 09:59:37 +02:00
Tran Ngoc Nhan
f2d62ad7e7 Polishing.
Pattern matching usage.
Diamond operator usage.
Remove unused import.
isEmpty usage.

Original pull request #1912
2024-10-21 09:10:13 +02:00
Mark Paluch
a8463e0ca6 After release cleanups.
See #1883
2024-10-18 12:49:41 +02:00
Mark Paluch
b788e7abac Prepare next development iteration.
See #1883
2024-10-18 12:49:40 +02:00
Mark Paluch
22f12e341e Release version 3.4 RC1 (2024.1.0).
See #1883
2024-10-18 12:47:01 +02:00
Mark Paluch
b771f3b6d4 Prepare 3.4 RC1 (2024.1.0).
See #1883
2024-10-18 12:46:45 +02:00
Mark Paluch
3bf02f5a12 Upgrade to R2DBC Postgres 1.0.7.RELEASE.
Closes #1913
2024-10-17 14:37:05 +02:00
Mark Paluch
627fafc9b5 Upgrade to R2DBC MySQL 1.3.0.
Closes #1911
2024-10-10 08:59:33 +02:00
Mark Paluch
ce662c3343 Upgrade to R2DBC Postgresql 1.0.6.
Closes #1910
2024-10-10 08:58:53 +02:00
Mark Paluch
8c6364b4bf Polishing.
Simplify R2DBC expression handling. Use new ValueExpression API instead of holding parameter binding duplicates.

Reformat code. Add author tags.

See #1904
Original pull request: #1906
2024-10-09 13:35:18 +02:00
Marcin Grzejszczak
d526cd3a22 Add support for Value Expressions for Repository Query methods.
Closes #1904
Original pull request: #1906
2024-10-09 13:35:16 +02:00
Mark Paluch
fd4aedc760 Consistently run all CI steps with the same user.
See #1883
2024-10-09 09:31:15 +02:00
Mark Paluch
8622d70ba4 Polishing.
Refine tests. Extend comment for future-me.

See #1900
Original pull request: #1903
2024-10-02 15:08:11 +02:00
Jens Schauder
ae8651869e Do not convert binary data in List<byte[]> to array SQL type.
byte[] is mapped to BINARY data and is not considered tuple data.

The explicit check for byte[] is not very nice but matches the special handling in MappingJdbcConverter.writeJdbcValue

Closes #1900
Original pull request: #1903
2024-10-02 15:08:10 +02:00
Jens Schauder
b3040a1044 Removes superfluous EnabledOnDatabase.
Closes #1902
2024-10-01 15:57:04 +02:00
Mark Paluch
4834d083c4 Add StatementFilterFunction to R2dbcEntityTemplate.
See #1652
2024-10-01 10:28:48 +02:00
Mark Paluch
90b6d8e8a8 Polishing.
Use FilterFunction instead of nullable fetchSize to avoid unconditional capturing lambdas and improve defaulting.

Add since tag.

See #1652
Original pull request: #1898
2024-10-01 10:20:25 +02:00
Mikhail2048
96a4121058 Add fetchSize to ReactiveSelectOperationSupport.
Closes #1652
Original pull request: #1898
2024-10-01 10:18:03 +02:00
Mark Paluch
7cf81aed35 Polishing.
Replace code duplications with doWithBatch(…) method. Return most concrete type in DefaultDataAccessStrategy and MyBatisDataAccessStrategy.

See #1623
Original pull request: #1897
2024-10-01 09:10:59 +02:00
Jens Schauder
c4f62e9f56 Return List instead of Iterable in JDBC Repositories and JdbcAggregateOperations.
Closes #1623
Original pull request: #1897
2024-10-01 09:10:58 +02:00
Jens Schauder
4d5a382a73 Polishing.
Original pull request #1901
2024-09-30 12:20:11 +02:00
Mikhail2048
08daf47842 Refactoring.
Clarified nullabillity for Identifier.
Removed usage of deprecated constructor for StringBasedJdbcQuery.

Original pull request #1901
2024-09-30 12:18:43 +02:00
Jens Schauder
95a9f64c3e Polishing.
Original pull request #1895
2024-09-24 09:09:42 +02:00
Tran Ngoc Nhan
146e5495df Minor refactoring.
Original pull request #1895
2024-09-24 09:09:08 +02:00
Jens Schauder
efe18e8c2b Move dependency properties.
Moves version properties for R2DBC drivers to parent so they get detected by the release tooling.

Original pull request #1892
2024-09-23 13:05:49 +02:00
Tran Ngoc Nhan
9277792d87 Polishing.
Original pull request #1894
2024-09-23 09:20:47 +02:00
Jens Schauder
5de52af824 Upgrade Postgres JDBC driver to 42.7.4
Closes ##1891
2024-09-18 10:06:00 +02:00
Jens Schauder
1b89f80279 Upgrade Oracle JDBC driver to 23.5.0.24.07
Closes #1890
2024-09-18 10:05:30 +02:00
Jens Schauder
0afcf79c64 Upgrade MySql JDBC driver to 8.0.33
Closes #1889
2024-09-18 10:05:05 +02:00
Jens Schauder
5b5b7b1ec1 Upgrade MS SqlServer JDBC driver to 12.8.1.jre11
Closes #1888
2024-09-18 10:04:33 +02:00
Jens Schauder
769c9c7892 Upgrade Maria DB JDBC driver to 3.4.1
Closes #1887
2024-09-18 10:03:59 +02:00
Jens Schauder
27cdf365d5 Upgrade HSQLDB to 2.7.3
Closes #1886
2024-09-18 10:03:29 +02:00
Jens Schauder
ed63dd4c7d Upgrade DB2 JDBC driver to 11.5.9.0
Closes #1885
2024-09-18 10:02:38 +02:00