Commit Graph

2167 Commits

Author SHA1 Message Date
Jay Bryant
7bbc8ed735 DATACMNS-1814 - Fixes missing anchors.
Fixes the problem of the "Using filters" link jumping to the top of
the document. There was another of these ("Configuration") later in
the document, and this commit fixes that one, too.

Original pull request: #470.
2020-10-16 14:27:51 +02:00
Christoph Strobl
d88a7a3c98 DATACMNS-1798 - Updated changelog. 2020-10-14 14:51:36 +02:00
Jens Schauder
9c82a8694c DATACMNS-1807 - Correctly tagging Kotlin code as such in the documentation. 2020-10-02 12:55:58 +02:00
Henning Rohlfs
66b9eab2c0 DATACMNS-1806 - Prevent returning null from Lazy due to concurrency problem.
When accessed concurrently from multiple threads, Lazy.getNullable() could return null unexpectedly.

Original pull request: #468.
2020-09-25 17:02:48 +02:00
Mark Paluch
3b83222f9b DATACMNS-1786 - Updated changelog. 2020-09-16 14:12:03 +02:00
Mark Paluch
55c05d3aec DATACMNS-1787 - After release cleanups. 2020-09-16 12:15:45 +02:00
Mark Paluch
c2e8abcb9a DATACMNS-1787 - Prepare next development iteration. 2020-09-16 12:15:40 +02:00
Mark Paluch
00bb90474e DATACMNS-1787 - Release version 2.3.4 (Neumann SR4). 2020-09-16 11:43:14 +02:00
Mark Paluch
b8a19c45a7 DATACMNS-1787 - Prepare 2.3.4 (Neumann SR4). 2020-09-16 11:42:46 +02:00
Mark Paluch
1796583f73 DATACMNS-1787 - Updated changelog. 2020-09-16 11:42:25 +02:00
Mark Paluch
7ec434404b DATACMNS-1774 - Updated changelog. 2020-09-16 11:20:08 +02:00
Mark Paluch
04300b8262 DATACMNS-1773 - Updated changelog. 2020-09-16 10:38:58 +02:00
Mark Paluch
fb66f5c275 DATACMNS-1795 - Align checks in ReactiveWrappers with checks in ReactiveAdapterRegistry.
Checks in ReactiveWrappers align now with checks in ReactiveAdapterRegistry for a consistent configuration experience.
2020-09-10 10:35:56 +02:00
Mark Paluch
88562e8dfc DATACMNS-1793 - Polishing.
Clean up invalid imports.
2020-09-09 13:45:31 +02:00
Mark Paluch
81df52daa0 DATACMNS-1794 - Upgrade to XMLBeam 1.4.17. 2020-09-09 13:45:31 +02:00
Mark Paluch
78f1573ae1 DATACMNS-1775 - After release cleanups. 2020-08-12 13:19:58 +02:00
Mark Paluch
4e234bca73 DATACMNS-1775 - Prepare next development iteration. 2020-08-12 13:19:55 +02:00
Mark Paluch
97351e39d9 DATACMNS-1775 - Release version 2.3.3 (Neumann SR3). 2020-08-12 13:07:46 +02:00
Mark Paluch
ce0e237b5f DATACMNS-1775 - Prepare 2.3.3 (Neumann SR3). 2020-08-12 13:07:20 +02:00
Mark Paluch
15443cd0f1 DATACMNS-1775 - Updated changelog. 2020-08-12 13:06:58 +02:00
Mark Paluch
13da270f5e DATACMNS-1756 - Updated changelog. 2020-08-12 12:01:19 +02:00
Mark Paluch
46e3580047 DATACMNS-1783 - Simplify null check in PersistentEntityIsNewStrategy.
Switch from Number.class.isInstance(…) method call to instanceof check.
2020-08-11 10:15:32 +02:00
Oliver Drotbohm
b187ea62d0 DATACMNS-1296 - PersistentPropertyPathAccessor now properly handles intermediate nulls when setting values.
We now use a dedicated GetOptions instance for the lookup of the parent path in case SetOptions is defined to skip nulls so that the lookup does not fail if the parent path contains a null value.
2020-08-06 08:55:53 +02:00
Mark Paluch
856f1d3194 DATACMNS-1779 - Consider kotlin.Unit a simple type.
kotlin.Unit is now considered a simple type to avoid PersistentEntity creation.

ReflectionUtils.isVoid(…) now encapsulates the check so that calling code doesn't need to check if Kotlin is on the class path.
2020-07-31 10:55:33 +02:00
Mark Paluch
3d1147624e DATACMNS-1777 - Polishing.
Use non-null construction of Optional for non-nullable method arguments.
2020-07-28 15:29:49 +02:00
Mark Paluch
513140d89e DATACMNS-1777 - Polishing.
Add note about GraalVM when using TypedSort.

Original pull request: #461.
2020-07-28 15:29:49 +02:00
DK Lee
0f3a4126bd DATACMNS-1777 - Fix typo in Java example for TypedSort.
Original pull request: #461.
2020-07-28 15:29:49 +02:00
Mark Paluch
0ca3cc72e7 DATACMNS-1742 - After release cleanups. 2020-07-22 10:37:08 +02:00
Mark Paluch
a844661962 DATACMNS-1742 - Prepare next development iteration. 2020-07-22 10:37:05 +02:00
Mark Paluch
590baf9294 DATACMNS-1742 - Release version 2.3.2 (Neumann SR2). 2020-07-22 10:21:08 +02:00
Mark Paluch
e7d36e66ca DATACMNS-1742 - Prepare 2.3.2 (Neumann SR2). 2020-07-22 10:20:44 +02:00
Mark Paluch
2bdac251a5 DATACMNS-1742 - Updated changelog. 2020-07-22 10:20:22 +02:00
Mark Paluch
e8d2ae59b6 DATACMNS-1741 - Updated changelog. 2020-07-22 10:08:44 +02:00
Mark Paluch
eb8542196d DATACMNS-1740 - Updated changelog. 2020-07-22 09:44:30 +02:00
Mark Paluch
6f10d5a727 DATACMNS-1772 - Remove SpringDataAnnotationBeanNameGenerator and use BeanNameGenerator directly.
We now invoke BeanNameGenerator directly without additional indirections. Previously, SpringDataAnnotationBeanNameGenerator was calling BeanNameGenerator using null for BeanDefinitionRegistry which caused downstream null dereference.
2020-07-21 14:51:55 +02:00
Mark Paluch
fa01e15122 DATACMNS-1771 - Upgrade to Vavr 0.10.3. 2020-07-21 14:36:50 +02:00
Mark Paluch
af66d3489d DATACMNS-1768 - Polishing.
Reduce test visibility. Remove forEach detour through stream().
2020-07-14 09:47:18 +02:00
Mark Paluch
3d855fc338 DATACMNS-1768 - Reuse bean state in InstantiationAwarePropertyAccessor when setting multiple properties.
We now reuse the new bean in InstantiationAwarePropertyAccessor when setting properties. Previously, we used the initial bean state as the bean was held by a delegate PersistentPropertyAccessor which caused only the last set property to be visible.
2020-07-14 09:47:18 +02:00
Mark Paluch
3b73a4f901 DATACMNS-1767 - Polishing.
Reformat code. Use reflection for property access when running within a native image.

Original pull request: #456.
2020-07-13 14:26:08 +02:00
Christoph Strobl
7ed72ff41f DATACMNS-1767 - Disable ClassGeneratingEntityInstantiator when running native-image.
Always fall back to reflection when the system property for org.graalvm.nativeimage.imagecode is set.
This is required because on the fly code generation is not supported in this case.

Original pull request: #456.
2020-07-13 14:26:08 +02:00
Mark Paluch
f212e3e0ef DATACMNS-1758 - Revert optimizations from DATACMNS-1698.
We ensure that each EntityCallback retrieval operates on its own List to not share the retrieved callback list with other threads.
2020-07-09 14:15:59 +02:00
Mark Paluch
ff7a608cc7 DATACMNS-1725 - Updated changelog. 2020-06-25 12:00:17 +02:00
Mark Paluch
441609c4bf DATACMNS-1753 - Polishing.
Check for deferred types in ReactiveWrappers so that ReactiveWrapperConverters remains untouched as wrapper conversion from a reactive type into CompletableFuture is still possible from a ReactiveWrapperConverters perspective.

Original pull request: #450.
2020-06-25 10:48:15 +02:00
Gerrit Meier
895311c208 DATACMNS-1753 - Don't consider CompletableFuture as reactive type.
CompletableFuture use is permitted in imperative repositories so we should not use CompletableFuture as indicator to switch a repository implementation to a reactive one.

Original pull request: #450.
2020-06-25 10:47:25 +02:00
Mark Paluch
06184a3be5 DATACMNS-1750 - Polishing. 2020-06-22 15:48:16 +02:00
Mark Paluch
75f91975df DATACMNS-1750 - Refrain from inspecting Page contents if first item is null. 2020-06-22 15:48:15 +02:00
Oliver Drotbohm
7a7b1683ed DATACMNS-1743 - Polishing.
We now avoid identifier conversion in ReflectionrepositoryConverter if not necessary. Reestablish a couple of unit tests for DomainClassConverter that were disabled by accident.
2020-06-16 16:37:15 +02:00
Oliver Drotbohm
ba012ff25b DATACMNS-1743 - Fixed handling of failed aggregate lookup in DomainClassConverter.
We now fall back to null in case the repository lookup for the aggregate results in an absent value rather than returning the source unconverted.
2020-06-16 16:37:15 +02:00
Oliver Drotbohm
18d6e63ab0 DATACMNS-1745 - Polishing.
Made the reference to RepositoryInformation non-nullable from the RepositoryAnnotationTransactionAttributeSource (previously RepositoryInformationPreferring…). Adapted test cases accordingly.
2020-06-16 14:38:09 +02:00
Mark Paluch
bda90f037d DATACMNS-1745 - Refactor CustomAnnotationTransactionAttributeSource to use computeTransactionAttribute template method.
We now no longer duplicate Spring Framework code as AbstractFallbackTransactionAttributeSource exposes computeTransactionAttribute which we can use to override to determine TransactionAttribute from the repository interface.

Renamed CustomAnnotationTransactionAttributeSource to RepositoryInformationPreferringAnnotationTransactionAttributeSource to reflect the nature of our customization.
2020-06-16 14:38:03 +02:00