Commit Graph

2179 Commits

Author SHA1 Message Date
Jens Schauder
c0b3d8d8a2 Upgrade Oracle JDBC driver to 23.7.0.25.01
Closes #1989
2025-02-11 10:58:07 +01:00
Jens Schauder
7721438c33 Upgrade MySql R2DBC driver to 1.3.2
Closes #1990
2025-02-11 10:58:06 +01:00
Jens Schauder
310545a1db Upgrade MariaDB JDBC driver to 3.5.1
Closes #1991
2025-02-11 10:38:26 +01:00
Jens Schauder
8c017fc56b Polishing.
Reference issues in tests comments.
Removed `DisabledOnDatabase`
IdGeneration default methods related to sequence generation are now internally consistent.
Formatting and naming.
IdGeneration offers simple support by default.
Fix exception in oracle integration test setup
Use SqlIdentifier for sequence names
Remove SEQUENCE id source
Added documentation

See #1923
Original pull request #1955
2025-02-05 08:53:32 +01:00
Mikhail2048
d1c996008c Support for ID generation by sequence.
Ids can be annotated with @Sequence to specify a sequence to pull id values from.

Closes #1923
Original pull request #1955

Signed-off-by: mipo256 <mikhailpolivakha@gmail.com>

Some accidential changes removed.
Signed-off-by: schauder <jens.schauder@broadcom.com>
2025-02-04 17:03:19 +01:00
Jens Schauder
b51c77b50a Polishing.
Minor formatting and references to GH issues.

See #1714
Original pull request #1963
2025-01-16 10:46:37 +01:00
Sergey Korotaev
ea296429df Add Stream support to JdbcAggregateOperations
See #1714
Original pull request #1963

Signed-off-by: Sergey Korotaev <sergey.evgen.kor2501@gmail.com>
2025-01-16 10:46:25 +01:00
Mark Paluch
4ef05389a7 Polishing.
Reformat code.

See #1969
2025-01-13 12:09:51 +01:00
Jens Schauder
ece981f9f1 Ignore collection like attributes for query by example.
Collection valued attributes now get ignored.
Before RelationalExampleMapper tried to generate predicates for these, resulting in invalid SQL.

Closes #1969
2025-01-13 12:09:40 +01:00
Jens Schauder
feb630abfa Invoke callbacks for find by Query methods.
Callback handlers are now properly called for findAll/One with Query parameter.

Closes #1979
2025-01-13 09:40:15 +01:00
Mark Paluch
00c0a27366 Switch from CLA to DCO.
See spring-projects/spring-data-build#2471
2025-01-10 10:59:25 +01:00
Mark Paluch
e19fb66dd4 Upgrade to Oracle R2DBC Driver 1.3.0.
Closes #1977
2025-01-10 10:44:35 +01:00
Mark Paluch
bcc4c8a986 Upgrade to MySql R2DBC Driver 1.3.1.
Closes #1976
2025-01-10 10:43:34 +01:00
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