Mark Paluch
5a2f2bfd5c
Update CI Properties.
...
See #3275
2025-05-12 08:55:53 +02:00
Mark Paluch
cefc9232d1
Polishing.
...
Add missing Antora property.
See #3262
2025-05-09 11:31:26 +02:00
Mark Paluch
41c8a5080f
Polishing.
...
Reformat code. Simplify flow. Add ticket reference to test.
See #3287
Original pull request: #3219
2025-05-09 11:08:00 +02:00
xeounxzxu
f9d5369ff1
Avoid multiple DeferredRepositoryInitializationListener registrations in RepositoryConfigurationDelegate.
...
Closes #3287
Original pull request: #3219
2025-05-09 11:07:39 +02:00
Oscar Hernandez
4ea94056cc
Fix NPE in CrudRepositoryExtensions.
...
Closes #3187
2025-05-09 10:49:13 +02:00
Yanming Zhou
b4d2391cdb
Use List.of() and Set.of() where feasible.
...
Closes #3231
2025-05-09 10:45:18 +02:00
Seungrae
95d9637edc
Fix typos in reference documentation and Javadoc.
...
Signed-off-by: Seungrae Kim <obey1342@gmail.com >
Closes #3235
2025-05-09 10:42:02 +02:00
Mark Paluch
64def32d83
Polishing.
...
Use dynamic copyright year. Disable feature-scroll by default on query method details to let modules opt-in.
See #3262
2025-05-09 10:23:03 +02:00
Dmitry Sulman
ad25ad9703
Fix Antora feature-scroll attribute.
...
Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com >
Closes #3262
2025-05-09 10:22:53 +02:00
Mark Paluch
2534f176a7
Polishing.
...
Align documentation between reactive and imperative repository variants.
See #3280
Original pull request: #3281
2025-05-09 09:55:21 +02:00
Jens Schauder
96b5b72013
Improve documentation for CrudRepository.deleteById.
...
The documentation now clarifies that entity might get loaded and therefore possibly OptimisticLockingFailureException might get thrown.
Closes #3280
Original pull request: #3281
2025-05-09 09:55:09 +02:00
Mark Paluch
bfc380fbea
Allow subclasses of ReturnedType.
...
Closes #3286
2025-05-05 17:01:22 +02:00
Mark Paluch
e17dd32b7f
After release cleanups.
...
See #3255
2025-04-22 11:26:48 +02:00
Mark Paluch
9b3a44aba5
Prepare next development iteration.
...
See #3255
2025-04-22 11:26:47 +02:00
Mark Paluch
2c4b60e2cf
Release version 3.5 RC1 (2025.0.0).
...
See #3255
2025-04-22 11:24:11 +02:00
Mark Paluch
7d07b12dc4
Prepare 3.5 RC1 (2025.0.0).
...
See #3255
2025-04-22 11:23:50 +02:00
Mark Paluch
646aea4cc0
Polishing.
...
Reorder methods. Tweak Javadoc, add references to parameter naming. Add usage to newly introduced methods.
See #3088
Original pull request: #3272
2025-04-22 09:05:53 +02:00
Chris Bono
a978209497
Add getRequiredName and hasName API to org.springframework.data.mapping.Parameter.
...
Introduces a more convenient API to simplify the caller side especially for conditionals that want to determine whether a parameter name is present.
Closes #3088
Original pull request: #3272
2025-04-22 09:03:57 +02:00
KIMSIWOO
c0b60b2906
Fix example code in query methods details doc.
...
Original pull request: #3224
Signed-off-by: KIMSIWOO <sa20207@naver.com >
2025-04-16 16:53:50 -05:00
Jens Schauder
ceae0dd234
Tiny improvement of examples.
...
Examples for limiting queries with and without a property argument are now better mixed.
This makes it more clear that limiting and filtering by property are orthogonal concerns.
Closes #3268
Original pull request #3269
2025-04-16 10:01:15 +02:00
Tran Ngoc Nhan
af10ad393a
Update javadoc links.
...
This fixes javadoc links in a couple of adoc files.
Original pull request: #3260
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com >
2025-04-11 18:58:18 -05:00
Tran Ngoc Nhan
18f27e7e95
Remove unused imports.
...
This cleans up a couple of classes by removing unused imports.
Original pull request: #3240
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com >
2025-04-11 18:50:26 -05:00
Mark Paluch
1b9e36c929
Accept Function to create Parameters in QueryMethod.
...
We now no longer rely on overriding a method in the QueryMethod constructor but accept a Function to create Parameters.
Closes #3263
2025-04-09 12:04:07 +02:00
Mark Paluch
f4e9581d23
After release cleanups.
...
See #3247
2025-03-14 09:33:43 +01:00
Mark Paluch
494bca5647
Prepare next development iteration.
...
See #3247
2025-03-14 09:33:42 +01:00
Mark Paluch
dc6ec33078
Release version 3.5 M2 (2025.0.0).
...
See #3247
2025-03-14 09:31:04 +01:00
Mark Paluch
f0ebfe8158
Prepare 3.5 M2 (2025.0.0).
...
See #3247
2025-03-14 09:30:45 +01:00
Christoph Strobl
cda948ed61
Remove links to gitter.
...
Closes : #3253
2025-03-11 10:49:44 +01:00
Mark Paluch
306940ccf1
Polishing.
...
See #3252
2025-03-06 14:46:26 +01:00
Christoph Strobl
d6d41242c3
Fix nullability issues for primitives and types in default package.
...
See: #3242
2025-03-06 13:08:31 +01:00
Mark Paluch
5f9659408b
Revise RepositoryInformation and RepositoryComposition caching.
...
We now use a refined strategy to cache RepositoryInformation and RepositoryComposition.
Previously, RepositoryComposition wasn't cached at all and store modules that e.g. contributed a Querydsl (or a different) fragment based on the interface declaration returned a new RepositoryComposition (and thus a different hashCode) each time RepositoryInformation was obtained leading to memory leaks caused by HashMap caching.
We now use Fragment's hashCode for the cache key resulting in RepositoryComposition being created only once for a given repository interface and input-fragments arrangement.
Closes #3252
2025-03-06 12:23:09 +01:00
Mark Paluch
0e699a2cf8
Polishing.
...
Align nullness/nullability wording. Use template methods instead of functions to create exceptions.
Original Pull Request: #3244
2025-03-05 13:25:57 +01:00
Christoph Strobl
2894ff3f04
Move and reuse existing nullability validator.
...
Original Pull Request: #3244
2025-03-05 13:25:57 +01:00
Yanming Zhou
c6d275842c
Throw exception if Kotlin projection requires non-null value but null result present
...
Closes : #3242
Original Pull Request: #3244
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com >
2025-03-05 13:23:50 +01:00
Mark Paluch
9670c8772f
Polishing.
...
Reformat code.
See #3168
2025-03-05 10:39:44 +01:00
mitu2
258ed3aabf
Remove branching overhead in BytecodeUtil by replacing if with else if.
...
Closes #3168
2025-03-05 10:39:37 +01:00
Mark Paluch
39b783e760
Consider getters using get as getter for boolean Kotlin properties.
...
We now additionally consider get-prefixed methods in addition to is-prefixed methods as getters for boolean properties.
Closes #3249
2025-02-20 14:14:23 +01:00
Mark Paluch
47a1f07b2c
After release cleanups.
...
See #3205
2025-02-14 12:25:08 +01:00
Mark Paluch
b63c8f23a3
Prepare next development iteration.
...
See #3205
2025-02-14 12:25:07 +01:00
Mark Paluch
d2ed905a36
Release version 3.5 M1 (2025.0.0).
...
See #3205
2025-02-14 12:22:37 +01:00
Mark Paluch
6e8d53b321
Prepare 3.5 M1 (2025.0.0).
...
See #3205
2025-02-14 12:22:18 +01:00
Mark Paluch
906d581aa1
Polishing.
...
Fix Querydsl lettercasing.
See #3243
2025-02-13 09:16:59 +01:00
Mark Paluch
8f3bb79337
Split extensions ref doc page into page with includes.
...
Closes #3243
2025-02-13 09:02:50 +01:00
Mark Paluch
1f9ecd423a
Update CI Properties.
...
See #3205
2025-02-11 15:23:12 +01:00
Mark Paluch
c1cd613488
Polishing.
...
Add since tags. Reformat code. Switch to Collection-typed properties as Iterable is often used in domain models without being an actual mapped collection.
See #3010
Original pull request: #3241
2025-02-10 14:37:13 +01:00
mipo256
11bdb9a0a9
Introduce KIterablePropertyPath for type-safe property path mappings using collections.
...
See #3010
Original pull request: #3241
Signed-off-by: mipo256 <mikhailpolivakha@gmail.com >
2025-02-10 14:36:41 +01:00
Mark Paluch
4e848f3bf7
Polishing.
...
Refine Pageable sort override.
See #1011
2025-02-05 11:44:01 +01:00
Mark Paluch
eefb1dc239
Add support for fluent queries returning a Slice.
...
Closes #1011
2025-02-05 11:43:57 +01:00
Mark Paluch
3969be03c9
Polishing.
...
Introduce empty constants to reduce allocations.
See #3193
Original pull request: #3194
2025-02-04 15:49:46 +01:00
Christoph Strobl
db382681a8
Enforce non-null contract on vector elements.
...
Also add shortcuts for empty sources and simplify copy calls that do not transform source values.
See #3193
Original pull request: #3194
2025-02-04 15:49:46 +01:00