Commit Graph

2166 Commits

Author SHA1 Message Date
Jens Schauder
dfd8123a07 Simplified EntityRowMapper.
Removes an unused field and moves operations into  constructor, to make the mapRow method simpler.

Closes #1974
2025-01-08 15:05:45 +01:00
Mark Paluch
8b157aa779 Extend license header copyright years to 2025.
See #1973
2025-01-08 10:04:52 +01:00
Jens Schauder
bce51f44ba Polishing.
Moved Kotlin files to kotlin source directory.

Minor formatting.

See #1961
Original pull request #1962
2024-12-18 14:18:56 +01:00
Felix Desyatirikov
8d1e0e1578 Add Kotlin extensions to JdbcAggregateOperations.
Closes #1961
Original pull request #1962
2024-12-18 14:17:55 +01:00
Jens Schauder
73d6788067 Polishing.
Fix merge problems.

Execute tests only for HsqlDb.

Refactoring to use lists instead of streams.
We try to avoid the latter, since they are prone to cause performance issues.

Minor refactorings.

See #771
See #230
Original pull request #1486
2024-12-18 12:39:52 +01:00
Nikita Konev
1515a3af42 Support derived delete.
Closes #771
See #230
Original pull request #1486
2024-12-18 12:39:43 +01:00
Jens Schauder
721a7ad458 Implement equals and hashCode for Criteria.
This facilitates testing of Criteria construction and is also usful, when keeping Criteria instances in sets or similar.

Closes #1960
2024-12-16 13:40:54 +01:00
Jens Schauder
e4ba477036 Fix indentation in code examples.
Fixes the indentation to 4 characters in all code examples in *.adoc files that so far used tabs.

Original pull request #1948
2024-11-25 14:41:49 +01:00
Jens Schauder
e651a565a1 Fix indentation in code examples.
Fixes the indentation to 4 characters in all code examples in *.adoc files.

Original pull request #1948
2024-11-25 14:35:33 +01:00
fResult
3143eaaf12 Fix indent from 2 to 4 spaces in the Mapping page.
- `Customized Object Construction` section
- `Registering Spring Converters with the \'JdbcConverter\'` section

Original pull request #1948
2024-11-25 14:34:41 +01:00
Jens Schauder
c77a59f3ac Fix reference to custom converters.
The reference was both broken and somehow got moved to the wrong place.

Closes #1949
2024-11-25 13:20:50 +01:00
Jens Schauder
66466e8756 Fixed rendering of NOT condition.
Closes #1945
2024-11-21 10:14:43 +01:00
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