Mark Paluch
9f8d37dfb1
Prepare next development iteration.
...
See #3079
2 years ago
Mark Paluch
119e12af20
Release version 3.3 GA (2024.0.0).
...
See #3079
2 years ago
Mark Paluch
147f46d940
Prepare 3.3 GA (2024.0.0).
...
See #3079
2 years ago
Oliver Drotbohm
b09c503480
Polishing.
...
Ternary ifs and less nesting.
Related: GH-3094
Original pull request: GH-2865
2 years ago
Yanming Zhou
ae76d08403
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
2 years ago
Alessandro Rubino
c2a475b42c
Update links to direct section links.
...
Closes #3095
2 years ago
Mark Paluch
2f43bd593e
Limit generics length to declared length.
...
Also, rename method to reflect what it actually returns.
Document generic usage constraints in RepositoryFactoryBeanSupport subclasses.
Closes #3089
2 years ago
Mark Paluch
18d31ec61d
Document how projection types relate to the entity type hierarchy.
...
Closes #3092
2 years ago
Mark Paluch
b1a5fc460b
Apply Kotlin Value Class unboxing to generated Property Accessors.
...
Unwrap wrapped value types if necessary when using generated property accessors.
Closes #3087
2 years ago
Mark Paluch
00d03c595b
Polishing.
...
Add missing Javadoc and Serial annotations. Simplify code.
See #3081
2 years ago
Jan Kurella
7bac883930
Avoid `NullPointerException´ and `IllegalArgumentException` for control flow in `Sort`.
...
Checking for null explicitly is cheap and prevents two unnecessary Exception
objects creations.
Closes #3081
2 years ago
Mark Paluch
027b8c2ad2
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
2 years ago
Alexander Münch
2f9427a94b
Fix typo in object-mapping.adoc.
...
Closes #3076
2 years ago
Mark Paluch
5d067c56cd
Polishing.
...
Reformat code. Use explicit local variable types instead of var.
See #3075
2 years ago
Yanming Zhou
797066dcc0
Use `-1` instead of `null` as initial `OffsetScrollPosition`.
...
1. Use type `long` instead of `Long` to keep it consistent with previous version.
2. Position function is simplified to `offset+1`.
Closes #3075
2 years ago
Mark Paluch
1771647cb2
After release cleanups.
...
See #3065
2 years ago
Mark Paluch
04c5135b98
Prepare next development iteration.
...
See #3065
2 years ago
Mark Paluch
dd42cb2a51
Release version 3.3 RC1 (2024.0.0).
...
See #3065
2 years ago
Mark Paluch
2f4ab246f2
Prepare 3.3 RC1 (2024.0.0).
...
See #3065
2 years ago
Mark Paluch
855194a13d
Polishing.
...
Introduce method to obtain a position function from OffsetScrollPosition. Tweak documentation wording.
See #3070
Original pull request: #3072
2 years ago
Christoph Strobl
eb184669db
Revise `OffsetScrollPosition` to use zero-based indexesAlign Offset Scrolling Position.
...
Closes #3070
Original pull request: #3072
2 years ago
Oliver Drotbohm
88011e6003
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.
2 years ago
Oliver Drotbohm
dd081d4614
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.
2 years ago
Oliver Drotbohm
1c8471c384
Polishing.
...
Related ticket GH-3066.
2 years ago
Oliver Drotbohm
cf82e0fcda
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.
2 years ago
Mark Paluch
3aba5eb1eb
After release cleanups.
...
See #3045
2 years ago
Mark Paluch
240be26dd0
Prepare next development iteration.
...
See #3045
2 years ago
Mark Paluch
4e57283e3a
Release version 3.3 M2 (2024.0.0).
...
See #3045
2 years ago
Mark Paluch
8db7ee426c
Prepare 3.3 M2 (2024.0.0).
...
See #3045
2 years ago
Mark Paluch
f8f9610b59
Add `equals`/`hashCode` support for `Unpaged`.
...
Closes #3061
2 years ago
Mark Paluch
ee75b8cd78
Polishing.
...
Simplify code.
Original Pull Request: #3059
2 years ago
Mark Paluch
0766f2e56b
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
2 years ago
Mark Paluch
5502fcf893
Revert workaround for Java 8 `ConcurrentHashMap` bug.
...
Closes #3060
2 years ago
Mark Paluch
e15c83467b
Refine Query by Example string matching to call out store-specific limitations.
...
Closes #3058
2 years ago
Mark Paluch
e32b2668a1
Polishing.
...
Handle warnings. Remove redundant code in DefaultReactiveEntityCallbacks.
Original pull request: #3053
See #3055
2 years ago
mawen12
939c6143c1
Remove redundant code in `DefaultEntityCallbacks#callback`.
...
Original pull request: #3053
Closes #3055
2 years ago
Mark Paluch
f7a1066143
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
2 years ago
Mark Paluch
047b6be83f
Polishing.
...
Tiny naming tweaks.
See #3041
Original pull request: #3048
2 years ago
Christoph Strobl
9d73853244
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
2 years ago
Mark Paluch
75728ac0be
Fix Javadoc build.
...
Remove package-info for package without sources.
See #3045
2 years ago
Christoph Strobl
684f418fba
After release cleanups.
...
See #2981
2 years ago
Christoph Strobl
1a11eba8d6
Prepare next development iteration.
...
See #2981
2 years ago
Christoph Strobl
033738e4be
Release version 3.3 M1 (2024.0.0).
...
See #2981
2 years ago
Christoph Strobl
b90c8853cb
Prepare 3.3 M1 (2024.0.0).
...
See #2981
2 years ago
Mark Paluch
c02ff121d7
Force update on CI build.
...
See #2981
2 years ago
Mark Paluch
9563f637fd
Document converter types supported by `CustomConversions`.
...
Closes #3040
2 years ago
Mark Paluch
67163d02e3
Evolve ValueExpressionParser.
...
Introduce literal, expression and placeholder variants. Add parser for composite expressions.
Closes #2369
Original pull request: #3036
2 years ago
Christoph Strobl
9f13e5450d
Add support for Value Expressions.
...
We now support Value Expressions such as `#{1+1}-${spring.application.name:fallback-value}` that are composed of SpEL expressions, literals and Property Placeholders.
See #2369
Original pull request: #3036
2 years ago
Eric Haag
5ec3c609f6
Update Revved up by Develocity badge.
...
Closes #3032
2 years ago
Mark Paluch
f6eacd208a
Polishing.
...
Add additional tests, add Javadoc to explain isEnclosingClassParameter() behavior.
See #3038
Original pull request: #3039
2 years ago