Commit Graph

2372 Commits

Author SHA1 Message Date
Jens Schauder
4fac75dff8 Updated changelog.
See #2387
2021-07-16 10:18:51 +02:00
Mark Paluch
dd0a162a3d Refine ClassGeneratingEntityInstantiator deprecation note.
Closes #2400
2021-07-13 10:35:32 +02:00
Yanming Zhou
aad811840f Fix outdated ExampleMatcher docs.
Closes #2404
2021-07-13 10:18:54 +02:00
Jens Schauder
0c64b4b23f Corrects the description of constructor detection.
Closes #2401
Original pull request: #2402.
2021-07-13 10:13:19 +02:00
Yanming Zhou
7d0b9ad187 Fix code example showing Streamable usage.
Closes #2391
2021-07-12 15:53:51 +02:00
Paul Lin
204f26f1a4 Fix broken link to Spring framework reference documentation.
Closes #2381.
2021-07-12 15:51:47 +02:00
Mark Paluch
5be698683b Polishing.
Add unit tests.

See #2392
Original pull request: #2393.
2021-07-12 15:47:39 +02:00
David Becker
53d238ddde Fix EvaluationContextExtension filter fall-through in ReactiveExtensionAwareEvaluationContextProvider.
Using JpaEvaluationContextExtension with reactive infrastructure in place, ReactiveExtensionAwareEvaluationContextProvider can lead to IllegalStateException if the desired extension doesn't match the predicate instead of being silently dropped.

Closes #2392
Original pull request: #2393.
2021-07-12 15:47:39 +02:00
Stephane Nicoll
28a5bab49a Polishing.
A public bean method that returns a private type is unusual and prevents the processing of such bean in reflection-free use cases. There was also an unnecessary qualifier in the implementation.

Closes #2399
2021-07-12 15:19:21 +02:00
Mark Paluch
f0a7612112 Polishing.
Fix Javadoc formatting. Consistently mention proxy class unwrapping.

Original pull request: #2406.
2021-07-07 14:51:54 +02:00
Oliver Drotbohm
629a519550 Repositories now allows lookup of parent repositories for sub-types.
When inheritance is used for aggregates, lookups of the repository for a Child aggregate instance have so far failed to return a repository registered for the Parent. Client code had to consider that scenario explicitly.

This commit introduces an additional lookup step in case we cannot find a repository for an aggregate type immediately. In this case, we then check for assignability of any of the known aggregate types we have registered repositories for and the type requested. I.e. for a request for the repository of Child, a repository, explicitly registered to manage Child instances would still be used. In the sole presence of a repository managing Parent instances, that would be returned for the request for Child, too.

Original pull request: #2406.
2021-07-07 14:45:48 +02:00
Mark Paluch
6fd5df5911 Updated changelog.
See #2376
2021-06-22 16:07:27 +02:00
Mark Paluch
0c0aa0098b After release cleanups.
See #2375
2021-06-22 15:28:51 +02:00
Mark Paluch
d1cfef93a6 Prepare next development iteration.
See #2375
2021-06-22 15:28:47 +02:00
Mark Paluch
b6929a5b55 Release version 2.4.10 (2020.0.10).
See #2375
2021-06-22 15:18:22 +02:00
Mark Paluch
78f5753ae4 Prepare 2.4.10 (2020.0.10).
See #2375
2021-06-22 15:17:54 +02:00
Mark Paluch
8f18b2fc0e Updated changelog.
See #2375
2021-06-22 15:17:47 +02:00
Mark Paluch
f123d5fd9f Polishing.
Update placeholder name to reflect its position instead of the content that is being added by using modules.

Closes #2382
2021-06-17 11:59:16 +02:00
Jens Schauder
1d9fc49dc4 Allow for a module specific inclusion for DTO projections.
See https://github.com/spring-projects/spring-data-jpa/issues/2009

See #2382
2021-06-17 11:59:16 +02:00
Mark Paluch
b469b5d4c7 Allow combining Sort and TypedSort using Sort.and(…).
We now retain properly the collection of orders by using accessor methods instead of relying on using the orders field. TypedSort orders are not using the orders field, instead they iterate over recorded persistent property paths.

Closes #2103
Original pull request: #2377.
2021-06-10 15:01:43 +02:00
Mark Paluch
b1aaf73dc8 Updated changelog.
See #2355
2021-05-14 12:36:38 +02:00
Mark Paluch
d109f4dd85 After release cleanups.
See #2354
2021-05-14 12:05:20 +02:00
Mark Paluch
651702a8dc Prepare next development iteration.
See #2354
2021-05-14 12:05:16 +02:00
Mark Paluch
8caee0aef8 Release version 2.4.9 (2020.0.9).
See #2354
2021-05-14 11:52:23 +02:00
Mark Paluch
c23931e2f8 Prepare 2.4.9 (2020.0.9).
See #2354
2021-05-14 11:51:53 +02:00
Mark Paluch
75f5f4af06 Updated changelog.
See #2354
2021-05-14 11:51:47 +02:00
Mark Paluch
2bb21181e8 Obtain merged annotation for annotation validation.
We now validate declared annotations by pre-processing these through AnnotatedElementUtils to ensure a proper comparison. Previously, we compared annotation in their declared form (AnnotatedElement.getAnnotations()) with merged annotations which could fail due to aliasing effects of merged annotations.

Closes #2368.
2021-05-05 12:05:40 +02:00
Mark Paluch
3940400541 Limit BeanWrapper's KotlinCopyUtil to Kotlin Data classes.
Previously, we tried to invoke the copy(…) method on all Kotlin classes whereas the copy(…) method is only specific to Kotlin data classes.

Original pull request: #390.
Closes #2358.
2021-04-21 09:28:53 +02:00
Greg L. Turnquist
7b10beb42c Add LICENSE file.
See #2345.
2021-04-19 16:40:16 -05:00
Greg L. Turnquist
234bf6911b Authenticate against artifactory.
See #2345.
2021-04-19 16:40:09 -05:00
Mark Paluch
267d502652 Updated changelog.
See #2345
2021-04-14 14:40:01 +02:00
Mark Paluch
7a7064207e After release cleanups.
See #2346
2021-04-14 11:42:08 +02:00
Mark Paluch
7b87a22ac6 Prepare next development iteration.
See #2346
2021-04-14 11:42:04 +02:00
Mark Paluch
eb41503886 Release version 2.4.8 (2020.0.8).
See #2346
2021-04-14 11:33:25 +02:00
Mark Paluch
30e78bc303 Prepare 2.4.8 (2020.0.8).
See #2346
2021-04-14 11:32:47 +02:00
Mark Paluch
0679cd3a4e Updated changelog.
See #2346
2021-04-14 11:32:43 +02:00
Mark Paluch
2715095e65 Updated changelog.
See #2327
2021-04-14 11:17:41 +02:00
Mark Paluch
348ce54b6a Polishing.
Tweak wording.

Original pull request: #2352.
2021-04-13 15:21:04 +02:00
Jens Schauder
94fa775975 Adds a new snippet for is-new-state-detection.
This is intended for inclusion by other modules.

Closes #2352.
2021-04-13 15:21:04 +02:00
Mark Paluch
e0561769c2 Upgrade to XMLBeam 1.4.20.
Closes #2351.
2021-04-13 10:28:35 +02:00
Mark Paluch
b98a3a3e6a Upgrade to XMLBeam 1.4.19.
Closes #2349
2021-04-07 10:49:20 +02:00
Mark Paluch
1f583bab3d Back-off in ResultProcessor if the result object is an instance of the target type.
We now do not attempt to convert the object if it is an instance of the declared target type.

Closes #2347.
2021-04-06 13:37:10 +02:00
Mark Paluch
3069e261b3 After release cleanups.
See #2328
2021-03-31 18:29:41 +02:00
Mark Paluch
a1cfa0656b Prepare next development iteration.
See #2328
2021-03-31 18:29:38 +02:00
Mark Paluch
a246ef6078 Release version 2.4.7 (2020.0.7).
See #2328
2021-03-31 18:19:52 +02:00
Mark Paluch
7211f1359e Prepare 2.4.7 (2020.0.7).
See #2328
2021-03-31 18:19:19 +02:00
Mark Paluch
98bd1de84a Updated changelog.
See #2328
2021-03-31 18:19:14 +02:00
Mark Paluch
701c6039a1 Updated changelog.
See #2303
2021-03-31 17:26:06 +02:00
Mark Paluch
dca844dd6f Document effect of using AccessType(PROPERTY) in combination with Persistable.
Closes #2338
Original pull request #2339
2021-03-25 11:40:07 +01:00
Mark Paluch
ecbffa7a5a Update version number suffixes in readme to reflect the used versioning scheme.
Closes #2337
2021-03-22 10:19:15 +01:00