Commit Graph

1905 Commits

Author SHA1 Message Date
Mark Paluch
b3d30af4d2 After release cleanups.
See #2723
2023-07-14 14:57:12 +02:00
Mark Paluch
03dfd4a094 Prepare next development iteration.
See #2723
2023-07-14 14:57:10 +02:00
Mark Paluch
531c11c2ce Release version 7.2 M1 (2023.1.0).
See #2723
2023-07-14 14:53:18 +02:00
Mark Paluch
33bfff0f57 Prepare 7.2 M1 (2023.1.0).
See #2723
2023-07-14 14:52:12 +02:00
Gerrit Meier
21c8a42b29 GH-2755 - Use bookmark manager in Client.
Also make the `AbstractNeo4jConfig` and its reactive counter-part
use the same defined bookmark manager in transaction manager and
client.

Closes #2755
2023-07-12 14:49:04 +02:00
Gerrit Meier
0435c8d835 Upgrade Neo4j driver to 5.10.0. 2023-07-11 16:30:55 +02:00
Gerrit Meier
47feb15244 GH-2763 - De-Lombok all the things.
Closes #2763
2023-07-10 10:43:03 +02:00
Mark Paluch
ebb56d0b58 Update CI properties.
See #2723
2023-07-03 09:50:18 +02:00
Mark Paluch
30ff0a034c Upgrade to Maven Wrapper 3.9.3.
See #2759
2023-07-03 09:49:43 +02:00
Gerrit Meier
804a954a1a GH-2750 - Avoid toString in relationship creation.
Without the string conversion Neo4j will either to an (element)id or
label seek instead of a full node scan.
Also: In some corner case adding labels to the generic cyclic query
can improve the performance of the query.
On the other hand it cannot make it worse.

Closes #2750
2023-06-29 08:51:57 +02:00
Greg L. Turnquist
e465b75138 Stop posting build status on internal Slack.
See #2752
2023-06-26 13:31:07 -05:00
Gerrit Meier
0124f32b7e GH-2749 - Skip relationship mapping if no relationships are available.
Closes #2749
2023-06-26 13:19:06 +02:00
Gerrit Meier
85d2288b6b GH-2748 - Fix property filter in FluentQuery....
Using FluentQueryByExample/Predicate with a subset of properties,
the underlying fetching mechanics in the Neo4jTemplate was still
querying for everything if the domain has a potential circular dependency.

Closes #2748
2023-06-19 16:00:15 +02:00
Gerrit Meier
910ff60571 Increase build timeout for next to 60 minutes. 2023-06-14 16:43:59 +02:00
Gerrit Meier
662dc050fb GH-2726 - Consider nested properties in fluent query. 2023-06-14 16:19:58 +02:00
Mark Paluch
427865ebf3 Upgrade to Maven Wrapper 3.9.2.
See #2743
2023-06-13 08:54:55 +02:00
Gerrit Meier
2186367cb8 GH-2726 - Add scroll support to FluentQuery.
This will implement limit() and scroll()
methods in all (Reactive)FluentQuery.. classes.

Closes #2726
2023-06-12 12:28:20 +02:00
Gerrit Meier
0326bff379 Adjust test log filter list. 2023-06-12 12:28:20 +02:00
Gerrit Meier
d8348fc418 GH-2734 - Upgrade Neo4j Java driver to 5.9.0.
Closes #2734
2023-06-06 14:19:33 +02:00
Mark Paluch
022fcc1fce Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
Closes #2732
2023-06-06 10:19:58 +02:00
Gerrit Meier
e508c2a49b GH-2727 - Fix multiple levels of projecting properties mapping.
Closes #2727
2023-06-05 15:12:16 +02:00
Gerrit Meier
3fd273cae3 Add section about Cypher-DSL dialect. 2023-06-05 10:38:34 +02:00
Michael Simons
b1de39df9a docs: Add another QBE example. 2023-06-02 11:22:23 +02:00
Gerrit Meier
e01b771447 GH-2725 - Add missing runtime hints. 2023-06-01 09:19:21 +02:00
Gerrit Meier
2a0435a028 GH-2728 - Check current Cypher-DSL dialect before issuing queries.
Make sure we ignore invalid dialect config (i.e. we actually have neo4j 5, but are on 4 dialect in a crucial mapping path.
2023-05-30 13:24:01 +02:00
Greg L. Turnquist
b86c9a665e Use Harbor Proxy service on CI.
For Testcontainers-based images, we need to extend usage of our built-in proxy service with a custom ImageNameSubstitutor.

See #2724
2023-05-17 14:08:40 -05:00
Christoph Strobl
9314017b8d After release cleanups.
See #2713
2023-05-12 14:18:53 +02:00
Christoph Strobl
c85e7945b8 Prepare next development iteration.
See #2713
2023-05-12 14:18:51 +02:00
Christoph Strobl
30498ba031 Release version 7.1 GA (2023.0.0).
See #2713
2023-05-12 14:14:38 +02:00
Christoph Strobl
c6f49c841e Prepare 7.1 GA (2023.0.0).
See #2713
2023-05-12 14:14:05 +02:00
Gerrit Meier
a952f7e9e3 Update documentation to reflect the elementId changes.
Also add a link to the release notes for *this* version.
2023-05-11 15:07:44 +02:00
Michael Simons
d8bff18b22 refactor: Avoid all usage of Neo4j id() function unless required by the users datamodel.
This change makes use of the Cypher-DSL dialect capatibilities and uses a String identifier internally for all objects. This will be the `elementId()` on Neo4j 5 and higher and `toString(id())` on Neo4j 4 and lower.

Unless explicitly configured by the user through having `@Id @GeneratedValue long id`, we don’t use the `id()` function anymore. This function has been deprecated in Neo4j 5.

Users are encouraged to use `@Id @GeneratedValue String id` for assigning the element id as object id or using custom unique identifiers or `@Id @GeneratedValue UUID id` or  `@Id @GeneratedValue(value = UUIDStringGenerator.class) String id` for UUIDs.

We marked the long ids as deprecated, but don’t have any plans for now to remove them, so that future SDN versions will still be compatible with older Neo4j versions if the data model contains long ids.

We opted for using String’s directly to avoid tons of additional instances and rely on the JVMs excellent String caching capatiblities, thus, the `ElementId` interface - not usable so far anyhow - has been removed without current or planned replacement.

See #2716 and other tickets, closes #2718.
2023-05-04 16:01:33 +02:00
Gerrit Meier
fca0a9af69 Upgrade Neo4j driver to 5.8.0. 2023-05-02 11:41:09 +02:00
Michael Simons
743c966ce6 refactor: Disable tests related to dynamic labels on older Neo4j versions. 2023-04-28 16:01:49 +02:00
Michael Simons
b2fea935eb build: Change libs-snapshot and libs-milestone repo definition to the none prefixed ones.
See https://spring.io/blog/2020/10/29/notice-of-permissions-changes-to-repo-spring-io-fall-and-winter-2020
2023-04-28 15:52:37 +02:00
Oliver Drotbohm
2443f22d95 Adapt to ScrollPosition API changes in Spring Data Commons.
Fixes #2714.
Related ticket: #2824.
2023-04-27 20:37:06 +02:00
Greg L. Turnquist
51ac921de5 After release cleanups.
See #2695
2023-04-14 12:00:01 -05:00
Greg L. Turnquist
f2c744ee75 Prepare next development iteration.
See #2695
2023-04-14 11:59:55 -05:00
Greg L. Turnquist
3d9db0ea64 Release version 7.1 RC1 (2023.0.0).
See #2695
2023-04-14 11:53:58 -05:00
Greg L. Turnquist
59adab8756 Prepare 7.1 RC1 (2023.0.0).
See #2695
2023-04-14 11:53:19 -05:00
Gerrit Meier
ba26268469 Upgrade Neo4j driver to 5.7.0. 2023-04-11 14:41:31 +02:00
Michael Simons
8c05a6bfee refactor: Add support for OffsetDateTime and LocalTime properties.
Recent drivers support them without issues and don’t need separate conversions. Closes #2706.
2023-04-11 13:32:34 +02:00
Michael Simons
4fc80a3d90 fix: Assume Values.NULL in all cases where id values are literal null.
Closes #2710
2023-04-11 12:16:22 +02:00
Mark Paluch
9c9baaf3aa Adopts tests to changes in Spring Framework.
See #2695
2023-04-06 17:18:03 +02:00
Mark Paluch
c5cc6e676d Upgrade to Maven Wrapper 3.9.1.
See #2707
2023-04-06 16:16:22 +02:00
Gerrit Meier
74a253de6a Add Neo4j 5.x as test harness supported.
This is still the same as with 4.x, thus we just
mention it in the combination with 4.x to avoid
any upcoming questions.
2023-04-05 17:55:00 +02:00
Greg L. Turnquist
5a5373311d Test against Java 20 on CI.
See #2701.
2023-04-04 10:01:28 -05:00
Oliver Drotbohm
55337dec4d Move off deprecated methods of PersistenPropertyPath.
Fixes #2705.
2023-04-04 11:29:17 +02:00
Michael Simons
c31bd5d7b0 GH-2704 - Always define __relationships__ parameter.
In #2668 storing of relationships has been optimised so that existing relationships are not always refetched. The new query always requires `__relationships__` to be present. In the case of relationships with defined properties, `Neo4jMappingContext#createStatementForRelationshipWithPropertiesBatch` only defines that argument for new relationships, so updating relationships with properties fails.

Closes #2704
2023-03-31 11:41:41 +02:00
Michael Simons
02752f2bba GH-2703 - Add support for negating transformers to query-by-example.
Closes #2703.
2023-03-30 12:46:57 +02:00