Commit Graph

737 Commits

Author SHA1 Message Date
Tran Ngoc Nhan 56680102d8 Fix a/an in Javadoc.
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>

Original pull request #2216
2026-01-14 10:24:48 +01:00
Tran Ngoc Nhan ca8903e292 Fix typos.
Original pull request #2213

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2026-01-06 09:40:16 +01:00
Mark Paluch 7fb61eee9f Extend license header copyright years to present.
See #2212
2026-01-05 08:46:01 +01:00
Tran Ngoc Nhan a3612a34d1 Polish javadoc
Original pull request #2206

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2026-01-02 11:52:36 +01:00
Mark Paluch 6e50db9ef1 Prepare next development iteration.
See #2179
2025-12-12 11:45:22 +01:00
Mark Paluch 75fa97fa12 Release version 3.5.7 (2025.0.7).
See #2179
2025-12-12 11:42:29 +01:00
Mark Paluch ebe3177d54 Add docker-java.properties.
See spring-projects/spring-data-build#2726
2025-12-04 08:56:12 +01:00
Mark Paluch 667d8f430d Disable concurrency tests for now.
See #2176
2025-12-01 10:28:38 +01:00
Mark Paluch 0958a99331 Polishing.
No longer throw TransientDataAccessResourceException if R2DBC update does not yield any updated rows.

Remove mentions of IncorrectUpdateSemanticsDataAccessException, add mention of OptimisticLockingFailureException to affected methods.

Consistent OptimisticLockingFailureException exception message.

See #2176
Original pull request: #2185
2025-11-25 14:21:37 +01:00
Jens Schauder 8c30022ecc Do not throw IncorrectUpdateSemanticsDataAccessException on zero updated rows.
When an update results in 0 updated rows (without optimistic locking) we now ignore it, instead of throwing an exception.

The reason is that at least some databases return 0 when a row for updating was found, but none of the values changed.

Closes #2176
Original pull request: #2185
2025-11-25 14:17:44 +01:00
Mark Paluch 4bf2f37a6e Prepare next development iteration.
See #2158
2025-11-14 11:33:15 +01:00
Mark Paluch 9f996deca7 Release version 3.5.6 (2025.0.6).
See #2158
2025-11-14 11:30:08 +01:00
Mark Paluch 0e63bd8af0 Polishing.
Fix Javadoc issues.

See #2159
2025-11-11 08:33:11 +01:00
Mark Paluch a1e9391897 Polishing.
Refine deprecation messages. Simplify conversion, use Stream methods directly.

See #2138
Original pull request #2161
2025-10-23 13:54:44 +02:00
Jens Schauder 519a2ebaa2 Deprecate methods accepting Query and Pageable returning Page.
Since both the Query and the Pageable have limit, offset and sorting information, these methods are confusing and the strategy to resolve the conflict is not clear.

Existing code using the methods got replaced.

Users of these methods should use the various findAll and findBy methods to construct Page objects as desired.

Closes #2138
Original pull request #2161
2025-10-23 13:52:46 +02:00
Christoph Strobl 321f22f68d Prepare next development iteration.
See #2134
2025-10-17 11:39:05 +02:00
Christoph Strobl 34d12336f4 Release version 3.5.5 (2025.0.5).
See #2134
2025-10-17 11:34:13 +02:00
Oliver Drotbohm 7035c52a3e Explicitly declare jMolecules DDD dependency.
Fixes GH-2156.
2025-10-16 12:58:02 +02:00
Mark Paluch 11d0d951c2 Guard JdbcSqlServerDialect against absence of SQL Server JDBC driver.
Check for presence of microsoft.sql.DateTimeOffset class before returning it as type and associated converters.

Closes #2153
2025-10-08 22:13:26 +02:00
Mark Paluch ad2e1773c7 Extraneous warnings related to JdbcSqlServerDialect.
Add tests for R2DBC types as well.

Closes #2147
2025-10-08 17:06:52 +02:00
Mark Paluch 604467719f Polishing.
Reformat code, tweak visibility.

See #2147
2025-10-08 16:58:32 +02:00
Mark Paluch ef753a3fcc Exclude ByteBuddy from MSSQL JDBC Driver.
Closes #2143
2025-09-26 13:51:28 +02:00
Mark Paluch dde9529159 Document placeholder and Ant-style pattern support for @Enable…Repositories.
See spring-projects/spring-data-commons#3366
2025-09-19 10:48:35 +02:00
Christoph Strobl 37e5c15c5b Prepare next development iteration.
See #2117
2025-09-12 11:45:33 +02:00
Christoph Strobl eab6a9d5ed Release version 3.5.4 (2025.0.4).
See #2117
2025-09-12 11:41:39 +02:00
Jens Schauder 0c544a95b4 Polishing.
Avoiding var.
Referencing issue/pr in tests.
Formatting.

See #2125
See #1865
2025-08-27 14:19:40 +02:00
Tomasz Bielecki 46f0309f1d Avoid selection of duplicate columns.
This fixes #1865 for derived queries.

Signed-off-by: Tomasz Bielecki <tomasz.bielecki@gmail.com>

Original pull request #2125
See #1865
2025-08-27 14:19:39 +02:00
Mark Paluch 098fe7cce4 Prepare next development iteration.
See #2093
2025-08-15 10:04:16 +02:00
Mark Paluch 340975d3a8 Release version 3.5.3 (2025.0.3).
See #2093
2025-08-15 10:01:35 +02:00
Mark Paluch d75c58a9f1 Apply DTO projection through JDBC's Query by Example.
Spring Data JDBC doesn't allow projections through JdbcAggregateOperations yet and so we need to apply DTO conversion.

Closes #2098
2025-08-12 14:40:51 +02:00
Mark Paluch e69e3e5b24 Deprecate IdOnlyAggregateReference.
Closes #2107
2025-08-11 16:05:54 +02:00
Mark Paluch f860f70545 Remove misleading @Nullable annotation from AggregateReference.getId().
Aggregate references must be valid on their own and a null reference would represent a broken reference as we consider null identifiers as transient.

Closes #2104
2025-08-11 16:04:32 +02:00
Mark Paluch 53a20d0659 Prepare next development iteration.
See #2072
2025-07-18 10:30:33 +02:00
Mark Paluch 054aa8498a Release version 3.5.2 (2025.0.2).
See #2072
2025-07-18 10:27:59 +02:00
Mark Paluch f7c5eb9ed9 Polishing.
Fix typos. Add since tag.

See #2078
Original pull request: #2081
2025-07-16 15:27:29 +02:00
Jens Schauder cfb39c172a Apply custom conversions for collections.
The target type for the conversion of the complete collection gets adapted when a custom conversion was applied to the elements.

Also `JdbcValue` elements as a result of a custom conversion get unwrapped.

Closes #2078
Original pull request: #2081
2025-07-16 15:27:02 +02:00
JaeYeon Kim dcae93a2d2 Fixing Typo in JdbcAggregateChangeExecutionContext Exception Message.
Signed-off-by: JaeYeon Kim <ghgh415263@naver.com>

Original pull request #2074
2025-06-16 15:42:47 +02:00
Mark Paluch 82d4a6619d Prepare next development iteration.
See #2057
2025-06-13 13:42:18 +02:00
Mark Paluch 3117465d35 Release version 3.5.1 (2025.0.1).
See #2057
2025-06-13 13:39:35 +02:00
Mark Paluch ddc2c6d453 Polishing.
Resolve mapped property paths to aggregate paths. Add tests.
Clean up unused profile declarations.

See #1803
Original pull request: #1967
2025-06-13 10:28:28 +02:00
Jens Schauder 2ca8f4fb6f JdbcAggregateTemplate honors columns specified in query.
If no columns are given, all columns are selected by default.

If columns are specified, only these are selected.
Joins normally triggered by columns from 1:1 relationships are not implemented, and the corresponding columns don't get loaded and can't be specified in a query.

Limiting columns is not supported for single query loading.

Closes #1803
Original pull request: #1967
2025-06-13 10:28:28 +02:00
Jens Schauder 1511e15313 Polishing.
Formatting.
Simplification of code.

Original pull request #2065
See #2064
2025-06-11 15:06:37 +02:00
Jens Schauder e7a7bece1c Switch to VARCHAR2 for Oracle tests.
VARCHAR should not be used with Oracle.

Original pull request #2065
See #2064
2025-06-11 15:06:33 +02:00
Jens Schauder c00158afd4 Fixes integration tests.
Adding sizes to VARCHAR fields.

Original pull request #2065
See #2064
2025-06-11 15:05:24 +02:00
mipo256 651a4f5a19 Applies proper event handling before saving in batch.
Signed-off-by: mipo256 <mikhailpolivakha@gmail.com>

Commit message edited by Jens Schauder.

Original pull request #2065
Closes #2064
2025-06-11 15:05:24 +02:00
Mark Paluch bddacebe87 Prepare next development iteration.
See #2042
2025-05-16 11:31:35 +02:00
Mark Paluch fb390ff9e4 Release version 3.5 GA (2025.0.0).
See #2042
2025-05-16 11:28:31 +02:00
Jens Schauder 94958f5eb6 Polishing.
Code style and formatting.

Original pull request #2036
See #2031
2025-05-08 12:09:04 +02:00
Mark Paluch becc753e2f Polishing.
Deprecate original DialectResolver and JdbcArrayColumns as they've been in the wrong package and introduce replacements in the dialect package. Let deprecated types extend from their replacements to retain compatibility.

Make instance holders final, fix Javadoc typos, update reference docs.

Original pull request #2036
See #2031
2025-05-08 12:09:04 +02:00
mipo256 7698d487ba Introduced new JDBC dialect counterparts.
Signed-off-by: mipo256 <mikhailpolivakha@gmail.com>

Commit message edited by Jens Schauder

Original pull request #2036
Closes #2031
2025-05-08 12:08:36 +02:00