I am new to Neo4j and would like to upgrade the Neo4j version of my production application from 3.4.10 to 4.3.23. However, I am experiencing issues with my application after updating the "neo4j-ogm-http-driver" and "neo4j-ogm-embedded-driver" dependencies to version 3.2.23. Could you please suggest which other versions I need to update to successfully connect and use Neo4j version 4.3.23 from my Spring Boot application? My current application's dependencies include "spring-boot-starter-parent" version 2.0.1.RELEASE and "spring-boot-starter-data-neo4j" version 3.1.0.
There are many things to consider when doing the upgrade from Spring Boot 2.0 to 3.0 and I focus now only on the Spring Data Neo4j related parts.
History session:
During the lifetime of Spring Boot 2, there was a change in Spring Data with a major release that got into Spring Boot 2.4. This also includes Spring Data Neo4j. In this particular case, SDN got completely rewritten from the ground up to support not only the newly introduced reactive stack in Neo4j but also aligning to the Spring Data mechanisms working in the background.
As a consequence, we couldn't / did not want to keep Neo4j-OGM as the mapping layer because it would have blocked us from getting those features in.
What does this mean for you?
You don't depend on Neo4j-OGM anymore. On the other hand, if you are staying with SDN in the default version, you would only have connection support on the Bolt level via the Java Driver. Of course you can still use the test harness / an embedded instance but you would have also to open the Bolt port for this to work (Spring Data Neo4j)
The general things we observed and getting asked are written up here: Spring Data Neo4j but also please read up the specific parts of your application if something does not seem to work correctly.
And please don't hesitate to ask your questions here. I have closed the issue on GitHub in favour of this thread because it can become a broad topic and very specific for your use-case.