Posted by Mohit Sharma | Last Updated: 07-Jul-17
Hi Guys, for all those who are using Spring-data-neo4j, if you are using bolt driver to establish communication with graph DB you need to check Bolt version compatibility with Spring Boot version and OGM version.
Otherwise, neo4j DB will not work properly. It might also break relationships with the nodes and behave unusual.
I have faced this situation in past and it consumed alot of time to idtentify the problem. Everytime we persist an entitly it's relation breaks automatically.
Finally it narrowed down to version compatability.
Here are Spring data Version, Bolt Version , OGM Version compatability information.
Neo4j OGM Version Neo4j Version Bolt Version# Spring Data Neo4j Version Spring Boot Version 3.0.0+ 3.0.x, 3.1.x3.0.x, 3.1.x 1.1.0+1.1.0+ 5.0.0+ 2.0.0+2.0.0+ 2.1.0+2.1.0+ 2.3.x, 3.0.x, 3.1.x 1.1.0+1.1.0+ 4.2.0+4.2.0+ 1.5.0+1.5.0+ 2.0.2+2.0.2+ 2.3.x,3.0.x2.3.x, 3.0.x 1.0.0+1.0.0+ 4.1.2 – 4.1.6+4.1.2 – 4.1.6+ 1.4.x1.4.x 2.0.1*2.0.1* 2.2.x, 2.3.x 1.0.0-RC11.0.0-RC1 4.1.0 – 220.127.116.11.0 – 4.1.1 1.4.x1.4.x 1.1.5*1.1.5* 2.1.x, 2.2.x, 2.3.x2.1.x, 2.2.x, 2.3.x N/A 4.0.0+4.0.0+ 1.4.x1.4.x
* These versions are no longer actively developed or supported.
# Not applicable to Embedded and HTTP drivers
The following table list transitive dependencies between specific versions of projects related to OGM. When reporting issues or asking for help on StackOverflow or neo4j-users slack channel always verify versions used (e.g through
mvn dependency:tree) and report them as well.
Spring Boot Version Spring Data Neo4j Version Neo4j OGM Version Bolt Version