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
f0ebfe8158
Prepare 3.5 M2 (2025.0.0).
...
See #3247
9 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
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
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
Jens Schauder
42f6024ea1
Refining QBE documentation.
...
Adds a configurable limitation about collection support in Query By Example.
Closes : #3226
11 months ago
Mark Paluch
609ecfae0f
Extend license header copyright years to 2025.
...
See #3230
12 months ago
mipo256
c1ec988e7f
Removed deprecated api usage.
...
Closes #3218
1 year ago
Mark Paluch
3f543c2152
Update Projection section in reference documentation.
...
Closes #3216
1 year ago
Mark Paluch
b2c3623a99
Resolve bridged method when projected PropertyDescriptor resolves to a bridge method.
...
We now skip synthetic bridge methods when resolving a PropertyDescriptor from a called interface method on the target type and resolve the bridged method.
Closes #3215
1 year ago
Mark Paluch
00409b35fa
Refine Value Expression documentation.
...
Closes #3214
1 year ago
Mark Paluch
4718c454ae
Introduce public `ReactivePageableExecutionUtils` variant of pageable utils.
...
Closes #3209
1 year ago
Mark Paluch
771347bf7d
Revise `ClassUtils` and `ReflectionUtils`.
...
We deprecated `ClassUtils` in the repo.utils package and introduced a slimmer variant in o.s.d.util. Also, ReflectionUtils hosts now several methods that have been in ClassUtils along with an improved method naming (find vs. get in combination with return value semantics).
CastUtils is deprecated as we do not widely use it.
1 year ago
Mark Paluch
587cd70646
Polishing.
...
Mark PersistenceConstructor for removal.
See #3207
1 year ago
Mark Paluch
38b9a0ac0b
Deprecate pure repository SpEL support components for removal.
...
Closes #3207
1 year ago
Mark Paluch
499abbee41
Polishing.
...
Fix deprecation version.
See #3183
1 year ago
Mark Paluch
f554dd69fd
Prepare 3.4 GA (2024.1.0).
...
See #3183
1 year ago
Mark Paluch
99b95ca72e
Polishing.
...
Tweak wording. Add Override annotations.
See #3200
Original pull request: #3201
1 year ago
Christoph Strobl
0a19501e3d
Update custom repository extension section.
...
Closes #3200
Original pull request: #3201
1 year ago
Mark Paluch
09ba413316
Refine Scrolling refdocs.
...
Closes #3192
1 year ago
Stefano Cordio
9ed3a451a4
Minor improvements in `BootstrapMode` Javadoc.
...
Closes #3191
1 year ago
Christoph Strobl
1b79eeb5a2
Polishing.
...
Use double checked locking to be as close to the previous implementation but still benefit from the fast read operation.
Original Pull Request: #3186
1 year ago
Mark Paluch
adc8e3ffae
Revisit internal caching arrangements.
...
Closes : #3185
Original Pull Request: #3186
1 year ago
Mark Paluch
e0e881f6b8
Prepare for removal of `ListenableFuture`.
...
Closes #3190
1 year ago
Mark Paluch
24cf1fc7d5
Polishing.
...
Refine Javadoc and update ReactivePageableHandlerMethodArgumentResolver. Fix nullability annotations.
See #3188
1 year ago
Sergey Zolotarev
7a5e4d7305
Remove outdated information from Javadoc for `PageableHandlerMethodArgumentResolver`.
...
Closes #3188
1 year ago
LajosPolya
a7fe3554c3
Fix spelling SimplePropertyValueConversions javadoc.
...
Closes #3189
1 year ago