spring-projects / spring-data-neo4j

Provide support to increase developer productivity in Java when using Neo4j. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
http://spring.io/projects/spring-data-neo4j
Apache License 2.0
828 stars 621 forks source link

SpringData Neo4j not working with Neo4j:5.24 #2955

Open asamiyev opened 1 day ago

asamiyev commented 1 day ago

Hello there, Until recently we successfully used neo4j:5 image in integration with SpringData Neo4j. But 4 days ago, in Dockerhub a new version of neo4j 5.24 was released. And that version broke our project. Whenever we tried to call repository.findById(id), we received this exception:

image

After we reverted back to neo4j:5.23 image, everything worked again.

springBootVersion=2.7.9 springDependencyManagementVersion=1.0.11.RELEASE

Could you please check this bug? Thanks in advance!

meistermeier commented 1 day ago

Thanks for reporting this. We got aware of this problem last week. Unfortunately there is not much we can do, but luckily you can. The issue was solved about a year ago in all 7.x branches: https://github.com/spring-projects/spring-data-neo4j/pull/2822 Overview: Since 7.0.12 (Included in Spring Boot 3.0.13) Since 7.1.6 (Included in Spring Boot 3.1.6) Since 7.2.0 (Included in Spring Boot 3.2.0) All of 7.3.x and higher (3.3.0) SDN 6.x is and was at this point already out of support and requires commercial support from Broadcom. If you want to stick with 6.x you can also increase the log level for org.springframework.data.neo4j.cypher to ERROR to avoid the warning that leads to this problem. But in the long run we advise to upgrade to a supported Spring (Data) version.

asamiyev commented 1 day ago

Thank you for the prompt reply. As of now, we will try the "log level" approach. :)

meistermeier commented 15 hours ago

If there is any problems, you are observing, feel free to reach out. Keep in mind that an upgrade to a supported version makes more sense in the long run.