This commit our Neo4j OGM dependency with the Spring Data Neo4j
snapshots that are currently included in snapshots of Spring Data Kay.
It switches to using Neo4j's Bolt driver by default, aligning it with
the default of the latest Spring Data Neo4j 5 snapshots.
It also contains a workaround for a Neo4j OGM issue [1] and a change
to Neo4jDataAutoConfigurationTests that prevents the entire classpath
from being scanned.
See gh-8687
[1] https://github.com/neo4j/neo4j-ogm/issues/340
@ -43,7 +42,7 @@ public class Neo4jProperties implements ApplicationContextAware {
@@ -43,7 +42,7 @@ public class Neo4jProperties implements ApplicationContextAware {
@ -62,11 +61,6 @@ public class Neo4jProperties implements ApplicationContextAware {
@@ -62,11 +61,6 @@ public class Neo4jProperties implements ApplicationContextAware {
@ -95,14 +89,6 @@ public class Neo4jProperties implements ApplicationContextAware {
@@ -95,14 +89,6 @@ public class Neo4jProperties implements ApplicationContextAware {
this.password=password;
}
publicStringgetCompiler(){
returnthis.compiler;
}
publicvoidsetCompiler(Stringcompiler){
this.compiler=compiler;
}
publicEmbeddedgetEmbedded(){
returnthis.embedded;
}
@ -118,29 +104,25 @@ public class Neo4jProperties implements ApplicationContextAware {
@@ -118,29 +104,25 @@ public class Neo4jProperties implements ApplicationContextAware {
@ -165,14 +147,14 @@ public class Neo4jProperties implements ApplicationContextAware {
@@ -165,14 +147,14 @@ public class Neo4jProperties implements ApplicationContextAware {
@ -597,7 +597,6 @@ content into your application; rather pick only the properties that you need.
@@ -597,7 +597,6 @@ content into your application; rather pick only the properties that you need.
spring.data.neo4j.embedded.enabled=true # Enable embedded mode if the embedded driver is available.
spring.data.neo4j.open-in-view=false # Register OpenSessionInViewInterceptor. Binds a Neo4j Session to the thread for the entire processing of the request.
spring.data.neo4j.password= # Login password of the server.