34
34
import org .springframework .context .annotation .Bean ;
35
35
import org .springframework .context .annotation .Configuration ;
36
36
import org .springframework .data .annotation .Immutable ;
37
- import org .springframework .data .neo4j .config .AbstractNeo4jConfig ;
38
37
import org .springframework .data .neo4j .core .DatabaseSelectionProvider ;
39
38
import org .springframework .data .neo4j .core .schema .GeneratedValue ;
40
39
import org .springframework .data .neo4j .core .schema .Id ;
50
49
import org .springframework .data .neo4j .repository .config .EnableNeo4jRepositories ;
51
50
import org .springframework .data .neo4j .test .BookmarkCapture ;
52
51
import org .springframework .data .neo4j .test .Neo4jExtension ;
52
+ import org .springframework .data .neo4j .test .Neo4jImperativeTestConfiguration ;
53
53
import org .springframework .data .neo4j .test .Neo4jIntegrationTest ;
54
54
import org .springframework .transaction .PlatformTransactionManager ;
55
55
import org .springframework .transaction .annotation .EnableTransactionManagement ;
@@ -233,7 +233,7 @@ interface BaseNodeRepository extends Neo4jRepository<BaseNodeEntity, String> {
233
233
@ Configuration
234
234
@ EnableTransactionManagement
235
235
@ EnableNeo4jRepositories (considerNestedRepositories = true )
236
- static class Config extends AbstractNeo4jConfig {
236
+ static class Config extends Neo4jImperativeTestConfiguration {
237
237
238
238
@ Bean
239
239
public BookmarkCapture bookmarkCapture () {
@@ -253,5 +253,10 @@ public PlatformTransactionManager transactionManager(
253
253
public Driver driver () {
254
254
return neo4jConnectionSupport .getDriver ();
255
255
}
256
+
257
+ @ Override
258
+ public boolean isCypher5Compatible () {
259
+ return neo4jConnectionSupport .isCypher5SyntaxCompatible ();
260
+ }
256
261
}
257
262
}
0 commit comments