Commit Graph

2537 Commits

Author SHA1 Message Date
Christoph Strobl
c3c9982a95 After release cleanups.
See #2645
2022-07-15 10:47:35 +02:00
Christoph Strobl
f35154d2b4 Prepare next development iteration.
See #2645
2022-07-15 10:47:31 +02:00
Christoph Strobl
d772027a9c Release version 2.6.6 (2021.1.6).
See #2645
2022-07-15 10:34:16 +02:00
Christoph Strobl
1d2ed1149d Prepare 2.6.6 (2021.1.6).
See #2645
2022-07-15 10:33:37 +02:00
Florian Cramer
a94d6f2eaf Use TypeFilterUtils to create TypeFilters.
Original pull request: #2647.
Closes #2481
2022-06-23 14:01:40 +02:00
Mark Paluch
4a087f4c11 After release cleanups.
See #2607
2022-06-20 11:12:22 +02:00
Mark Paluch
afc73c0a79 Prepare next development iteration.
See #2607
2022-06-20 11:12:19 +02:00
Mark Paluch
30ce222bd2 Release version 2.6.5 (2021.1.5).
See #2607
2022-06-20 10:59:10 +02:00
Mark Paluch
204d395ee3 Prepare 2.6.5 (2021.1.5).
See #2607
2022-06-20 10:58:43 +02:00
John Blum
a81b9c6769 Polish for Exception message punctuation cleanup.
Closes #2603.
2022-06-07 12:21:47 -07:00
jo
844b677010 Remove punctuation in all exception messages.
Closes #2603.
2022-06-07 12:21:34 -07:00
Mark Paluch
3879e2cd40 Upgrade to Maven Wrapper 3.8.5.
See #2641
2022-06-03 09:42:16 +02:00
Mark Paluch
8c03db4717 Update CI properties.
See #2607
2022-06-03 09:35:43 +02:00
John Blum
4dc42263eb Remove Docker Registry login.
Closes #2633.
2022-05-16 10:10:17 -07:00
Arend v. Reinersdorff
d1836eefe0 Add missing space in reference documentation.
Closes #2628
2022-05-16 15:53:22 +02:00
Greg L. Turnquist
3f123dff59 Fix typo in repository documentation.
Original issue: https://github.com/spring-projects/spring-data-jpa/issues/1761

Closes #2629.
2022-05-13 17:15:43 -05:00
Greg L. Turnquist
9b5c1e8ec4 Extend query method special parameter types to any subclasses.
Spring Data Commons has a hard-coded list of special types than can be included in query methods including Pageable and Sort.

A custom finder with PageRequest, even though it extends Pageable, will fail when it would work fine with a narrowed input. This extends the list using an assignability check.

Related: spring-projects/spring-data-jpa#2013
See #2626.
2022-05-12 17:16:30 +02:00
Oliver Drotbohm
463cb47383 MethodInvocationRecorder now supports traversing primitive properties.
We now return a default value for invocations of methods returning a primitive value to pass the AOP infrastructure's check for compatible values. Before, that barked at the null value returned for the invocation.

Fixes #2612.
2022-05-04 15:07:50 +02:00
Christoph Strobl
87b04986bc After release cleanups.
See #2579
2022-04-19 12:13:23 +02:00
Christoph Strobl
a06a62094b Prepare next development iteration.
See #2579
2022-04-19 12:13:20 +02:00
Christoph Strobl
7a45df2c16 Release version 2.6.4 (2021.1.4).
See #2579
2022-04-19 12:03:13 +02:00
Christoph Strobl
b0213c4497 Prepare 2.6.4 (2021.1.4).
See #2579
2022-04-19 12:02:43 +02:00
Mark Paluch
6a96d8ee5b Upgrade to XMLBeam 1.4.23.
Closes #2605
2022-04-19 09:02:42 +02:00
John Blum
d522928a73 Fix mispelling of ClassUtils.getNumberOfOccurrences(..).
* Re-implement getNumberOfOccurrences(..) in terms of a Stream.
* Deprecate the mispelled getNumberOfOccurences(..) method and delegate to the new getNumberOfOccurrences(..) method.
* Edit Javadoc.

Closes #2600.
2022-04-12 11:25:34 -07:00
John Blum
cba64f3462 Fix grammatical errors in Exception messages.
Closes #2599.
2022-04-12 11:24:53 -07:00
Oliver Drotbohm
480f9ccffa Fix PersistentEntity lookup in AbstractMappingContext.hasPersistentEntity(…)
Looking up a PersistentEntity via ….getPersistentEntity(…) applies some massaging of the given type as it could be a proxy type created for a user type. That wrangling was not applied in ….hasPersistentEntity(…) which resulted in a call to that method with a proxy type yielding false although it shouldn't if we already have a PersistentEntity available for the corresponding user type.

We now explicitly lookup the entity by original type and, if it's not the user type itself, try to look up the entity for the latter.

Fixes #2589.
2022-04-08 11:35:33 +02:00
Mark Paluch
3d2df962a8 Polishing.
Tweak Javadoc comments.

See #2585
2022-03-25 13:37:45 +01:00
Mark Paluch
33726a4cd9 Retain case-sensitivity and null-handling when changing Sort direction.
We now retain case-sensitivity and null-handling configuration when changing the entire Sort direction.

Closes #2585
2022-03-25 13:37:45 +01:00
Mark Paluch
7312904ae4 Gracefully skip non-assignable lambda callbacks on Java 18.
We now consider IllegalArgumentException as marker for incompatible lambda payload that was introduced with Java 18's reflection rewrite that uses method handles internally.

Closes #2583
2022-03-23 10:45:47 +01:00
Mark Paluch
dc609f0751 After release cleanups.
See #2554
2022-03-21 15:06:37 +01:00
Mark Paluch
df297933b5 Prepare next development iteration.
See #2554
2022-03-21 15:06:35 +01:00
Mark Paluch
b98f27e206 Release version 2.6.3 (2021.1.3).
See #2554
2022-03-21 14:58:52 +01:00
Mark Paluch
b1c1956908 Prepare 2.6.3 (2021.1.3).
See #2554
2022-03-21 14:58:27 +01:00
Mark Paluch
7f0846fcf7 Polishing.
Consistent wording for pageable and sort arguments.

See #2574
2022-03-18 15:07:19 +01:00
Diego Krupitza
35297df76c Update documentation for repository Pageable and Sort arguments.
Replace outdated `null` acceptance for `Pageable` with `Pageable.unpaged()`
 `QueryByExampleExecutor#findAll(Example<S> example, Pageable pageable)` should does not accept null values since there is `Pageable.unpaged()`. Furthermore, the same applies to `PagingAndSortingRepository#findAll(Pageable pageable)`.

Related ticket: spring-projects/spring-data-jpa/issues/2464
Closes #2574
2022-03-18 15:07:19 +01:00
Mark Paluch
40475b1427 Use Java 8 to build snapshots for Artifactory.
Closes #2557
2022-03-15 14:14:40 +01:00
Mark Paluch
53d924c193 Accept Object values in QuerydslPredicateBuilder.
We now accept Object-typed values to allow broader reuse of QuerydslPredicateBuilder. The conversion into the actual value considers the origin type and checks assignability before employing the ConversionService.

Closes #2573
2022-03-10 10:21:58 +01:00
Mark Paluch
302bccae35 Consider annotated methods in AnnotationRevisionMetadata.
We now detect annotated methods.

Closes #2569
2022-03-02 14:45:41 +01:00
Mark Paluch
52012f9417 Update documentation of AbstractEntityInformation.
Align documentation with the code behavior as the behavior was changed but the documentation was not updated with the previous change.

Closes #2567
2022-03-02 08:52:21 +01:00
Mark Paluch
6b414609f2 Update CI properties.
See #2554
2022-02-22 14:09:13 +01:00
Mark Paluch
75e3a4c1fa Upgrade to Maven Wrapper 3.8.4.
See #2560
2022-02-22 13:56:05 +01:00
Mark Paluch
43269c2f75 Use Java 17 to build snapshots for Artifactory.
Closes #2557
2022-02-21 14:17:57 +01:00
Mark Paluch
e6ac12fac5 After release cleanups.
See #2528
2022-02-18 10:49:01 +01:00
Mark Paluch
e4813bc1c2 Prepare next development iteration.
See #2528
2022-02-18 10:48:59 +01:00
Mark Paluch
57f8d4a3d1 Release version 2.6.2 (2021.1.2).
See #2528
2022-02-18 10:41:00 +01:00
Mark Paluch
bedf905051 Prepare 2.6.2 (2021.1.2).
See #2528
2022-02-18 10:40:39 +01:00
Mark Paluch
9e6576776a Clarify Javadoc for FallbackPageable in PageableHandlerMethodArgumentResolverSupport.
Closes #2551
2022-02-17 14:36:35 +01:00
Oliver Drotbohm
3ec40638e5 Simpler check to avoid primitive conversion in ConvertingPropertyAccessor.
We now use Spring's ClassUtils.isAssignable(…) directly. Unit tests to verify that conversion is skipped for primitive / boxed scenarios.

See #2546.
2022-02-17 14:36:35 +01:00
Christoph Strobl
e5e8e67e07 Update copyright year to 2022.
See: #2552
2022-02-17 12:44:16 +01:00
Greg L. Turnquist
73e6269533 Update CI properties.
See #2528
2022-02-14 14:39:47 -06:00