-
Notifications
You must be signed in to change notification settings - Fork 616
Cannot map path using SDN 6.0.3 #2128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Neo4j-OGM that was used in SDN version < 6 collected all the returned data and mapped it in a batch afterwards.
and try the |
Thanks for the suggestion. Snapshot works fine on one-to-many relationships. But not fetching one-to-one relationships
In this case |
Wow, just found this. It really broke our expand functionality. Thanks for the collect tip |
@sureshpw could you provide the query you are using to retrieve A, B and C? @mrksph That is all due to the record-focused mapping as described in #2128 (comment) |
Not only the one-to-one relationships, |
@meistermeier Hi Gerrit, if I use "collect(path)" when expanding a node that has many first level relationships (14k+) I can't LIMIT the results because they are one big row. How'd you do it? |
@sureshpw There were a problem with the snapshot repository. It did not pick up the latest changes. I re-published the current 6.0.4-SNAPSHOT and from what I see with your test project, everything seems to work. I even migrated the
|
@meistermeier Updated the model ran the tests again and everything works correctly. When is the ETA for releasing SDN 6.0.4 with this fix? Thanks. |
I do not have any official at hand (the calendar is down) but since the next milestone of the next released is scheduled for Feb.,17th (https://github.com/spring-projects/spring-data-commons/wiki/Release-Train-2021.0-(Pascal)) I assume that also the next service release of 2020.0 will happen that day. |
Similar to issue: #2119. But using
apoc.path.expand
to get all the paths.Given a sample model: https://neo4j.com/labs/apoc/4.1/graph-querying/expand-paths/
Previously this can be mapped using a custom
@Query
returning aPerson
node (Spring Boot 2.3.4). That in turn will contain all the relationships and connected nodes. With Spring Boot 2.4.2 and SDN 6.0.3 it is not working.The text was updated successfully, but these errors were encountered: