-
Notifications
You must be signed in to change notification settings - Fork 0
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
Database version update #387
Comments
The visual program currently uses the Neo4j database with version 3.5.20 and the newest version of Neo4j is 4.4.12. Newer versions break some places. 1. Using CALL apoc.cypher.runTimeboxed()Side effect of some internal change along the way from 3.x -> 4.x: a node, relationship or path instance is now bound to the transaction it originates No longer reuse such a instance in a different transaction except using id(x) to get it's internal id. 2. Using General QueriesCALL graphOfInterest Also ;
NEO4J 3.5 not supported anymore |
Some side effect of some internal change along the way from 3.x -> 4.x: a node, relationship or path instance is now bound to the transaction it originates to. You can no longer reuse such a instance in a different transaction except using id(x) to get it’s internal id. |
Also, the visuall-advanced-query should be updated. |
The new neo4j database should be uploaded to the server. |
…ed changed with elementID()
The Advanced Queries have been updated to use the |
Neo4j reuses its internal ids when nodes and relationships are deleted. This means that applications using, and relying on internal Neo4j ids, are brittle or at risk of making mistakes. It is therefore recommended to rather use application-generated ids. The second possible solution is to create application-generated ids and use them instead of IDs. We can use UUIDs; |
Not Worked !! I tried it, but it caused some internal issues.(Such as edges not holding the application-generated IDs for their source and target nodes, it causes another query to find the nodes.)) Moreover, assigning an application-generated ID to all nodes is not quite practical. To address this, I added UUID using procedures that handle the automatic addition of UUID properties via the UUID Handler Lifecycle. The UUID handler is a transaction event handler that automatically adds the UUID property to a provided label and for the provided property name. |
I have updated the visuall-advanced-queries and visuall to use Neo4j v5.10. To accomplish this, I had to convert all parts that were using ID to use elementId instead. The new Neo4j v5.10 database is now available on the ivis server and can be found under the name |
New Neo4j 5.10 database is now running on port 3001; the credentials are username: neo4j and password: 12345678. |
During the review process, some parts were changed. You can review the changes from #388. That pull request was closed because the branch was renamed to unstable. |
Example Visuall program currently uses Neo4j database with version 3.5.20 and the newest version of Neo4j is 4.4.8. Between these two versions there are notable functionality and performance differences. However, newer versions break the "General Queries". Necessary parts of database API should be updated to make the program compatible with Neo4j's newest version.
The text was updated successfully, but these errors were encountered: