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
8 months ago
Mark Paluch
bfc380fbea
Allow subclasses of `ReturnedType`.
...
Closes #3286
8 months ago
Mark Paluch
e17dd32b7f
After release cleanups.
...
See #3255
8 months ago
Mark Paluch
9b3a44aba5
Prepare next development iteration.
...
See #3255
8 months ago
Mark Paluch
2c4b60e2cf
Release version 3.5 RC1 (2025.0.0).
...
See #3255
8 months ago
Mark Paluch
7d07b12dc4
Prepare 3.5 RC1 (2025.0.0).
...
See #3255
8 months ago
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
8 months ago
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
8 months ago
KIMSIWOO
c0b60b2906
Fix example code in query methods details doc.
...
Original pull request: #3224
Signed-off-by: KIMSIWOO <sa20207@naver.com>
8 months ago
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
8 months ago
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>
8 months ago
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>
8 months ago
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
9 months ago
Mark Paluch
f4e9581d23
After release cleanups.
...
See #3247
9 months ago
Mark Paluch
494bca5647
Prepare next development iteration.
...
See #3247
9 months ago
Mark Paluch
dc6ec33078
Release version 3.5 M2 (2025.0.0).
...
See #3247
9 months ago
Mark Paluch
f0ebfe8158
Prepare 3.5 M2 (2025.0.0).
...
See #3247
9 months ago
Christoph Strobl
cda948ed61
Remove links to gitter.
...
Closes : #3253
10 months ago
Mark Paluch
306940ccf1
Polishing.
...
See #3252
10 months ago
Christoph Strobl
d6d41242c3
Fix nullability issues for primitives and types in default package.
...
See: #3242
10 months ago
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
10 months ago
Mark Paluch
0e699a2cf8
Polishing.
...
Align nullness/nullability wording. Use template methods instead of functions to create exceptions.
Original Pull Request: #3244
10 months ago
Christoph Strobl
2894ff3f04
Move and reuse existing nullability validator.
...
Original Pull Request: #3244
10 months ago
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>
10 months ago
Mark Paluch
9670c8772f
Polishing.
...
Reformat code.
See #3168
10 months ago
mitu2
258ed3aabf
Remove branching overhead in `BytecodeUtil` by replacing `if` with `else if`.
...
Closes #3168
10 months ago
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
10 months ago
Mark Paluch
47a1f07b2c
After release cleanups.
...
See #3205
10 months ago
Mark Paluch
b63c8f23a3
Prepare next development iteration.
...
See #3205
10 months ago
Mark Paluch
d2ed905a36
Release version 3.5 M1 (2025.0.0).
...
See #3205
10 months ago
Mark Paluch
6e8d53b321
Prepare 3.5 M1 (2025.0.0).
...
See #3205
10 months ago
Mark Paluch
906d581aa1
Polishing.
...
Fix Querydsl lettercasing.
See #3243
10 months ago
Mark Paluch
8f3bb79337
Split extensions ref doc page into page with includes.
...
Closes #3243
10 months ago
Mark Paluch
1f9ecd423a
Update CI Properties.
...
See #3205
10 months ago
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
10 months ago
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>
10 months ago
Mark Paluch
4e848f3bf7
Polishing.
...
Refine Pageable sort override.
See #1011
11 months ago
Mark Paluch
eefb1dc239
Add support for fluent queries returning a `Slice`.
...
Closes #1011
11 months ago
Mark Paluch
3969be03c9
Polishing.
...
Introduce empty constants to reduce allocations.
See #3193
Original pull request: #3194
11 months ago
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
11 months ago
Mark Paluch
059d09a224
Introduce `Vector` abstraction.
...
Closes #3193
Original pull request: #3194
11 months ago
Mark Paluch
f86ee7f97f
Document that fluent `findBy(…)` queries must return a result.
...
Closes #3237
11 months ago
Mark Paluch
613ee5f55a
Fix Querydsl Nullability annotations.
...
Closes #2044
11 months ago
Mark Paluch
0d76b47119
Document OpenFeign Querydsl support.
...
Closes #3236
11 months ago
Mark Paluch
33befea145
Document restrictions for zero Limit PageRequest translation.
...
Closes #3102
11 months ago
Mark Paluch
ae6fa747a1
Skip unnamed DTO projection properties.
...
We now skip unnamed DTO projection properties and issue a warning log to raise awareness.
Skipping unnamed (null) properties avoids identification as DTO and only selects properties stemming from named constructor arguments.
Add tests for Kotlin data classes using value classes for verification.
Closes #3225
11 months ago
Tran Ngoc Nhan
6f0b7f6a0a
Fix typos.
...
Documentation, assertion messages.
Closes #3223
11 months ago
Mark Paluch
24fa60a0bc
Switch from CLA to DCO.
...
See spring-projects/spring-data-build#2471
12 months ago
Jens Schauder
42f6024ea1
Refining QBE documentation.
...
Adds a configurable limitation about collection support in Query By Example.
Closes : #3226
12 months ago
Mark Paluch
609ecfae0f
Extend license header copyright years to 2025.
...
See #3230
12 months ago