Call to id instead of elementId for assigned ids #2809
Labels
status: needs-investigation
An issue that has been triaged but needs further investigation
type: enhancement
A general enhancement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Given the right Cypher dialect for
NEO4J_5
was set, Spring Data Neo4j will still produceid
calling queries and it might not be needed to do so.For the parameters this line
spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/TemplateSupport.java
Line 430 in 52535f3
The statement
targetEntity.isUsingInternalIds()
resolves tofalse
and will always trigger the id fallback forspring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/Neo4jTemplate.java
Line 828 in 52535f3
The query generator side
spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/mapping/CypherGenerator.java
Line 530 in 52535f3
or to be more precise the logic inside
spring-data-neo4j/src/main/java/org/springframework/data/neo4j/core/mapping/CypherGenerator.java
Lines 479 to 491 in 52535f3
has the same behaviour.
I don't know the reason why I decided to go this route and this needs some deeper analysis of why this is happening.
Thanks to @pbauerochse for reporting this.
The text was updated successfully, but these errors were encountered: