Mark Paluch
bd05ed1dda
Introduce ParametersSource to Parameters.
...
We now provide a ParametersSource object to create MethodParameter objects associated with the enclosing class so parameters can resolve generics properly.
Closes #2996
2023-12-08 11:04:54 +01:00
Oliver Drotbohm
0cf2538f97
Avoid records as cache keys for performance reasons.
...
Fixes GH-2997.
2023-12-05 14:17:11 +01:00
Julien Béti
6e22ffd103
Properly render sort variable variable as composite.
...
HateoasSortHandlerMethodArgumentResolver now renders the sort template variable as composite to properly indicate that it can be submitted multiple times.
Fixes GH-2531.
Original pull request GH-2945.
2023-12-01 21:26:03 +01:00
Mark Paluch
1548ab6551
Omit asymmetric Kotlin properties.
...
We now skip adding asymmetric Kotlin properties if the getter returns a different type than the setter (e.g. due to value boxing).
Closes #2993
2023-11-29 15:51:58 +01:00
Mark Paluch
8a679156e0
Include inherited non-Kotlin properties in KotlinBeanInfoFactory.
...
We now include properties from non-Kotlin supertypes if the supertype is not a Kotlin type and not Object.
Closes #2994
2023-11-29 15:51:53 +01:00
Mark Paluch
295d14e34d
Backoff KotlinBeanInfoFactory for enum types.
...
We now no longer contribute properties for enum types.
Closes #2990
2023-11-29 10:51:16 +01:00
Mark Paluch
197e4cc112
Polishing.
...
Use for-loop instead of Java Stream API for concatenation of paths to reduce GC and CPU pressure.
See #2992
2023-11-29 09:21:20 +01:00
Mark Paluch
ee452d543a
Allow reuse of TypeInformation when obtaining a PersistentPropertyPath.
...
Closes #2992
2023-11-29 09:17:13 +01:00
Mark Paluch
cbcf1864ac
Introduce property for Jenkins user and Artifactory server details.
...
Closes #2988
2023-11-27 08:36:43 +01:00
Mark Paluch
ee7b84e926
Remove Asciidoc documentation fragments.
...
Closes #2984
2023-11-21 12:00:04 +01:00
Christoph Strobl
786c2e537d
Add property path tests & update reference documentation.
...
See: #1851
Original Pull Request: #2940
2023-11-21 09:00:10 +01:00
Mark Paluch
e0b2f1ef4d
Polishing.
...
Fix naming.
Original Pull Request: #2940
2023-11-21 08:44:42 +01:00
Mark Paluch
e04f0b0deb
Fallback to StringUtils.uncapitalize(…) when looking up property paths.
...
Naming restrictions for property paths used in query method names requite capitalization of the first letter regardless whether the property name uses a second-letter uppercase form (zIndex -> ZIndex, qCode -> QCode). In such cases, Introspector.decapitalize(…) shortcuts to non-decapitalization as it checks the second letter casing.
This leads to the case that the property name cannot be resolved, assuming proper property naming (getzIndex(), zIndex()).
Falling back to StringUtils.uncapitalize() allows catching such properties.
Closes : #1851
Original Pull Request: #2940
2023-11-21 08:43:23 +01:00
Runbing
aac6b9dd7d
Fixed the URL for the Spring Data Commons documentation.
...
I fixed an incorrect URL in the antora-playbook.yml file.
Closes #2982
2023-11-20 11:29:05 +01:00
Mark Paluch
14a98fa262
After release cleanups.
...
See #2955
2023-11-17 14:33:26 +01:00
Mark Paluch
3378a47fb1
Prepare next development iteration.
...
See #2955
2023-11-17 14:33:24 +01:00
Mark Paluch
4701ada209
Release version 3.2 GA (2023.1.0).
...
See #2955
2023-11-17 14:29:58 +01:00
Mark Paluch
7896d0b104
Prepare 3.2 GA (2023.1.0).
...
See #2955
2023-11-17 14:28:29 +01:00
Jens Schauder
7fab81b406
Fix broken logging message.
...
Closes #2977
2023-11-16 16:06:11 +01:00
Mark Paluch
97be53bd85
Remove superfluous @NonNull annotations.
...
Closes #2976
2023-11-13 14:51:12 +01:00
Mark Paluch
7803230106
Document public ScrollPosition factory methods.
...
Closes #2975
2023-11-13 11:26:07 +01:00
Jens Schauder
3eda7e9e66
Revert "AbstractPersistentProperty now considers the owner for equals."
...
This reverts commit 633d125f1d .
The change caused build failures for Spring Data JDBC.
See #2972
Original pull request #2973
See spring-projects/spring-data-relational#1657
2023-11-12 11:02:46 +01:00
Mark Paluch
42badf256f
Polishing.
...
Fix grammar. Add note about store-specific support.
See #2960
Original pull request: #2961
2023-11-10 14:32:43 +01:00
Jens Schauder
02d780fdf3
Mention ListPagingAndSortingRepository in documentation.
...
Closes #2960
Original pull request: #2961
2023-11-10 14:29:02 +01:00
Mark Paluch
3c872ae7cb
Polishing.
...
Extract singular/plural form into String.format(…) for easier readability.
See #2967
2023-11-09 14:46:50 +01:00
Luis Carilla Ternero
c52520a783
Refine repository scanning finished log message.
...
Log the plural form accordingly.
Closes #2967
2023-11-09 14:46:39 +01:00
Eric Haag
fca8cb3577
Connect build to ge.spring.io.
...
Closes #2970
2023-11-09 11:49:28 +01:00
Mark Paluch
65c537cdaa
Improve equals check by caching resolved generics.
...
Closes : #2974
2023-11-09 08:29:57 +01:00
Jens Schauder
633d125f1d
AbstractPersistentProperty now considers the owner for equals.
...
This makes a difference when a property is declared in a superclass of two entities.
In such a case the property is the same, but the owner is different.
Closes #2972
Original pull request #2973
See https://github.com/spring-projects/spring-data-relational/issues/1657
2023-11-08 10:43:15 +01:00
Oliver Drotbohm
38b3099ec5
Simplify DefaultMethodInvokingMethodInterceptor.
...
As our baseline is now Java 17, we can remove all indirections to produce a Lookup previously needed to support Java 8 and 9.
Fixes #2971 .
2023-11-08 08:42:38 +01:00
Mark Paluch
96f8ee25fe
Fix include/exclude filters documentation.
...
Closes #2969
2023-11-06 08:29:44 +01:00
Mark Paluch
d83dd7e138
Un-mangle Kotlin method names in PartTree.
...
Due to shortcomings with value classes mangling and the impossible usage of JvmName on Kotlin interfaces, we're inspecting now the method name if it contains a dash (-). If so, then we truncate the method name to be able to parse it.
Closes #2965
2023-10-25 14:48:16 +02:00
Mark Paluch
f060bcfe34
Back off from Kotlin BeanInfo creation for interfaces.
...
KotlinBeanInfoFactory no longer creates a BeanInfo for interfaces to follow general BeanInfo semantics.
Closes #2964
2023-10-25 11:45:47 +02:00
Yanming Zhou
5dbd956a28
Use correct ScrollPosition factory methods in reference docs.
...
Closes #2963
2023-10-23 09:15:33 +02:00
Greg L. Turnquist
81841f34fd
Update CI properties.
...
See #2955
2023-10-19 09:38:54 -05:00
Mark Paluch
d6507fe45f
Polishing.
...
Tweak Javadoc. Refine tests.
See #2491
2023-10-17 11:50:04 +02:00
Jens Schauder
2561c8e0aa
Clarify behavior of PropertyPath.
...
Update tests and documentation.
Closes #2491
2023-10-17 11:49:44 +02:00
mawen12
3ab8c66e0f
Add parameter to exception message format.
...
Closes : #2956
Original pull request: #2958
2023-10-17 11:25:22 +02:00
Greg L. Turnquist
c68990abbf
Update CI properties.
...
See #2955
2023-10-16 13:28:20 -05:00
John Blum
57c259fa00
After release cleanups.
...
See #2935
2023-10-13 08:52:00 -07:00
John Blum
3b35aa5231
Prepare next development iteration.
...
See #2935
2023-10-13 08:51:58 -07:00
John Blum
78df9b3eef
Release version 3.2 RC1 (2023.1.0).
...
See #2935
2023-10-13 08:44:25 -07:00
John Blum
c006260c5e
Prepare 3.2 RC1 (2023.1.0).
...
See #2935
2023-10-13 08:43:55 -07:00
Mark Paluch
cbcb848fab
Introduce Lock utility.
...
The Lock utility is an adapter for Java's Lock and ReadWrite Lock types providing an easier to consume programming model (callback-style and try-with-resources).
Closes : #2944
2023-10-05 09:33:45 +02:00
John Blum
e51c419b6d
Update CI properties.
...
See #2935
2023-10-04 17:24:10 -07:00
John Blum
731b16dbf8
Upgrade to Maven Wrapper 3.9.5.
...
See #2948
2023-10-04 16:58:01 -07:00
Mark Paluch
30dcacc8c1
Upgrade to OpenWebBeans 4.0.
...
Closes #2947
2023-09-29 09:34:18 +02:00
Oliver Drotbohm
8328517cc9
Fix detection of @DomainEvents and @AfterDomainEventPublication on native.
...
We now unconditionally process the aggregate root types declared on repositories for @Reflective annotations, which @DE and @ADEP got meta-annotated with.
Fixes #2939 .
2023-09-21 16:12:19 +02:00
Oliver Drotbohm
5f64564db5
Properly emit domain events from calls to saveAll(…).
...
We now treat CrudRepository.saveAll(…) properly by unwrapping the given *Iterable*. This previously already worked for collections handed into the method but not for types only implementing Iterable directly (like Page or Window).
Fixes #3153 .
Related tickets #2931 , #2927 .
2023-09-20 14:21:42 +02:00
Mark Paluch
9b2e898bdf
After release cleanups.
...
See #2908
2023-09-15 11:33:22 +02:00