Mark Paluch
10c26ecaf3
Prepare next development iteration.
...
See #3096
2024-06-14 10:06:42 +02:00
Mark Paluch
15d4ec32f3
Release version 3.2.7 (2023.1.7).
...
See #3096
2024-06-14 10:04:21 +02:00
Mark Paluch
05cc7889b9
Prepare 3.2.7 (2023.1.7).
...
See #3096
2024-06-14 10:04:04 +02:00
Mark Paluch
ac6a521ff2
Populate DTO projection properties that are considered associations.
...
We now populate DTO properties whose are identified as associations. While uncommon, as typically entities declare assocations using entities, associations can be identified as types and so these are now considered when populating properties.
Closes #3104
2024-06-10 14:58:22 +02:00
Mark Paluch
255777a778
After release cleanups.
...
See #3078
2024-05-17 11:24:37 +02:00
Mark Paluch
7b7ed6a333
Prepare next development iteration.
...
See #3078
2024-05-17 11:24:36 +02:00
Mark Paluch
4a44f685cb
Release version 3.2.6 (2023.1.6).
...
See #3078
2024-05-17 11:22:23 +02:00
Mark Paluch
fd3448250e
Prepare 3.2.6 (2023.1.6).
...
See #3078
2024-05-17 11:21:58 +02:00
Mark Paluch
fd1ab30a60
Polishing.
...
Defer message creation. Add test.
See #3091
2024-05-14 15:12:55 +02:00
kgignatyev
b8e230c4e1
Add offending type name to AbstractRepositoryMetadata verification exception message.
...
Closes #3091
2024-05-14 15:12:54 +02:00
Oliver Drotbohm
be30ca46a9
Polishing.
...
Ternary ifs and less nesting.
Related: GH-3094
Original pull request: GH-2865
2024-05-14 11:44:41 +02:00
Yanming Zhou
7ecdbdf3d8
Use Pageable.unpaged(sort) for sorted unpaged pageable.
...
The (Reactive)PageableHandlerMethodArgumentResolver now falls back to a unpaged Pageable instance with a resolved sort if the the resolved Pageable is unpaged.
Fixes: GH-3094
Original pull request: GH-2865
2024-05-14 11:44:39 +02:00
Alessandro Rubino
2c1f06c6eb
Update links to direct section links.
...
Closes #3095
2024-05-14 09:55:01 +02:00
Mark Paluch
e2ee018b1a
Limit generics length to declared length.
...
Also, rename method to reflect what it actually returns.
Document generic usage constraints in RepositoryFactoryBeanSupport subclasses.
Closes #3089
2024-05-08 09:53:38 +02:00
Mark Paluch
a08a5f753b
Document how projection types relate to the entity type hierarchy.
...
Closes #3092
2024-05-07 15:18:04 +02:00
Mark Paluch
138ef0c4c9
Apply Kotlin Value Class unboxing to generated Property Accessors.
...
Unwrap wrapped value types if necessary when using generated property accessors.
Closes #3087
2024-04-29 09:09:46 +02:00
Mark Paluch
17d4fc3c91
Polishing.
...
Add missing Javadoc and Serial annotations. Simplify code.
See #3081
2024-04-24 09:38:59 +02:00
Jan Kurella
23de76de35
Avoid NullPointerException´ and IllegalArgumentException for control flow in Sort`.
...
Checking for null explicitly is cheap and prevents two unnecessary Exception
objects creations.
Closes #3081
2024-04-24 09:38:59 +02:00
Mark Paluch
289e4d1f52
Fix StackOverflowError in TypeDiscoverer comparison.
...
We now resort to String-based comparison if a generic cannot be resolved. Previously, unresolved generics caused an infinite recursion.
Closes #3084
2024-04-23 10:17:57 +02:00
Alexander Münch
badc44a944
Fix typo in object-mapping.adoc.
...
Closes #3076
2024-04-15 15:15:34 +02:00
Mark Paluch
d416f3ebea
After release cleanups.
...
See #3064
2024-04-12 10:17:28 +02:00
Mark Paluch
9358ff4ce3
Prepare next development iteration.
...
See #3064
2024-04-12 10:17:27 +02:00
Mark Paluch
dd53fbc09b
Release version 3.2.5 (2023.1.5).
...
See #3064
2024-04-12 10:15:10 +02:00
Mark Paluch
55af2914c2
Prepare 3.2.5 (2023.1.5).
...
See #3064
2024-04-12 10:14:55 +02:00
Oliver Drotbohm
d22bb69a46
Support advanced generics redeclarations in RepositoryFactoryBeanSupport extensions.
...
Spring Data modules might override, and, by that, fix some of the generic type parameters exposed by RepositoryFactoryBeanSupport. We now more thoroughly walk through them to consider the ones expanded already and automatically expand the remaining ones with either the types found on the user repository interface or the unresolved type variable.
Ticket: GH-3074.
2024-04-09 19:20:28 +02:00
Oliver Drotbohm
36e60d80e0
Repository type preparation now only expands type variables declared in FactoryBean.
...
Related: GH-3074
2024-04-09 16:47:51 +02:00
Oliver Drotbohm
f2608f6302
More precise type information of factory bean definitions.
...
We now also forward the domain and identifier information detected on the repository to the target type declared for the repository factory bean definition.
Fixes GH-3074.
2024-04-09 13:40:52 +02:00
Oliver Drotbohm
6f68df292c
Polishing.
...
Related ticket GH-3066.
2024-03-25 22:25:21 +01:00
Oliver Drotbohm
ec78e1b8a1
Cache query method metadata to avoid repeated calculations.
...
We now calculate information about query methods in RepositoryInformationSupport lazily and keep it around to avoid repeated calculations that involve traversals over declared method and Stream allocations.
Fixes GH-3066.
2024-03-25 22:25:21 +01:00
Mark Paluch
0c9afae1c7
Remove asciidoc plugin.
...
No longer required.
See #3044
2024-03-15 11:03:15 +01:00
Mark Paluch
baa3d66d12
After release cleanups.
...
See #3044
2024-03-15 10:20:09 +01:00
Mark Paluch
38a12da53c
Prepare next development iteration.
...
See #3044
2024-03-15 10:20:08 +01:00
Mark Paluch
9d0a56f222
Release version 3.2.4 (2023.1.4).
...
See #3044
2024-03-15 10:17:48 +01:00
Mark Paluch
3cd5c53c8a
Prepare 3.2.4 (2023.1.4).
...
See #3044
2024-03-15 10:17:29 +01:00
Mark Paluch
ce368882f4
Add equals/hashCode support for Unpaged.
...
Closes #3061
2024-03-12 13:56:22 +01:00
Mark Paluch
aec8f1a45a
Polishing.
...
Simplify code.
Original Pull Request: #3059
2024-03-08 14:11:31 +01:00
Mark Paluch
3db2669512
Do not create persistent properties for Map and Collection-like entities.
...
These types are expected to behave like maps and collections and should not carry properties.
The only exception are types implementing Streamable as Streamable can be used in domain types.
Resolves : #3056
Original Pull Request: #3059
2024-03-08 14:10:39 +01:00
Mark Paluch
8dbfb9a6ab
Revert workaround for Java 8 ConcurrentHashMap bug.
...
Closes #3060
2024-03-07 16:07:29 +01:00
Mark Paluch
c38fcccc12
Refine Query by Example string matching to call out store-specific limitations.
...
Closes #3058
2024-03-05 10:23:35 +01:00
Mark Paluch
a32fe161d1
Polishing.
...
Handle warnings. Remove redundant code in DefaultReactiveEntityCallbacks.
Original pull request: #3053
See #3055
2024-03-01 11:49:08 +01:00
mawen12
dec7f74311
Remove redundant code in DefaultEntityCallbacks#callback.
...
Original pull request: #3053
Closes #3055
2024-03-01 11:49:08 +01:00
Mark Paluch
2df05fe3f2
Consider nested generics in TypeDiscoverer equality comparison.
...
We now compare nested generics wrapped into TypeInformation to consider type equality for deeply parametrized types.
Previously, we resolved type parameters to Class so Foo<List<String>> was considered equal to Foo<List<Map>> as the type parameter of the first nesting level was erased.
Closes #3051
2024-02-27 11:18:34 +01:00
Mark Paluch
c0ae3abbac
Polishing.
...
Tiny naming tweaks.
See #3041
Original pull request: #3048
2024-02-21 14:19:57 +01:00
Christoph Strobl
25c7c7519e
Default generic type arguments when resolving KType from a Class.
...
We now fill up missing KTypeProjection arguments with star because the Kotlin Reflection.typeOf resolution fails if arguments are not provided.
Closes #3041
Original pull request: #3048
2024-02-21 14:19:57 +01:00
Mark Paluch
2ebb6a768e
Fix Javadoc build.
...
Remove package-info for package without sources.
See #3045
2024-02-19 16:12:34 +01:00
Mark Paluch
c0c0929bcd
After release cleanups.
...
See #3022
2024-02-16 13:53:52 +01:00
Mark Paluch
3537ea0179
Prepare next development iteration.
...
See #3022
2024-02-16 13:53:50 +01:00
Mark Paluch
a08c4c65c7
Release version 3.2.3 (2023.1.3).
...
See #3022
2024-02-16 13:50:29 +01:00
Mark Paluch
16bf60e12c
Prepare 3.2.3 (2023.1.3).
...
See #3022
2024-02-16 13:50:00 +01:00
Mark Paluch
a1a3a8c6bb
Force update on CI build.
...
See #3022
2024-02-16 09:46:00 +01:00