Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Support for neo4j 5.x #41

Open
Andy2003 opened this issue Dec 12, 2022 · 1 comment
Open

Support for neo4j 5.x #41

Andy2003 opened this issue Dec 12, 2022 · 1 comment

Comments

@Andy2003
Copy link

Is there a plan to support neo4j 5.x with this library?

@christoph-grimm
Copy link

christoph-grimm commented Apr 20, 2023

With neo4j 5.6 Community and Spring boot 3 starter i get warnings like:

The query used a deprecated function. ('id' is no longer supported)
2023-04-20T20:06:45.342+02:00  WARN 42002 --- [           main] org.springframework.data.neo4j.cypher    : Neo.ClientNotification.Statement.FeatureDeprecationWarning: This feature is deprecated and will be removed in future versions.
	MATCH (project:`Project`) WHERE project.name = $name RETURN project{.alias, .commits, .description, .id, .name, __nodeLabels__: labels(project), __internalNeo4jId__: id(project), __elementId__: toString(id(project)), Project_DEFAULT_BRANCH_Branch: [(project)-[:`DEFAULT_BRANCH`]->(project_defaultBranch:`Branch`) | project_defaultBranch{.alias, .description, .id, .name, __nodeLabels__: labels(project_defaultBranch), __internalNeo4jId__: id(project_defaultBranch), __elementId__: toString(id(project_defaultBranch)), Branch_REFERENCED_COMMIT_Commit: [(project_defaultBranch)-[:`REFERENCED_COMMIT`]->(project_defaultBranch_referencedCommit:`Commit`) | project_defaultBranch_referencedCommit{.description, .id, .name, .owningProject, .payload, .previousCommit, __nodeLabels__: labels(project_defaultBranch_referencedCommit), __internalNeo4jId__: id(project_defaultBranch_referencedCommit), __elementId__: toString(id(project_defaultBranch_referencedCommit))}]}], Project_BRANCHES_Branch: [(project)-[:`BRANCHES`]->(project_branches:`Branch`) | project_branches{.alias, .description, .id, .name, __nodeLabels__: labels(project_branches), __internalNeo4jId__: id(project_branches), __elementId__: toString(id(project_branches)), Branch_REFERENCED_COMMIT_Commit: [(project_branches)-[:`REFERENCED_COMMIT`]->(project_branches_referencedCommit:`Commit`) | project_branches_referencedCommit{.description, .id, .name, .owningProject, .payload, .previousCommit, __nodeLabels__: labels(project_branches_referencedCommit), __internalNeo4jId__: id(project_branches_referencedCommit), __elementId__: toString(id(project_branches_referencedCommit))}]}]}

Nevertheless the repository seems to work -- with version 3.0.5 of spring boot starter.
Gradle:

implementation("org.springframework.boot:spring-boot-starter-data-neo4j:3.0.5")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants