Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit afbb077

Browse files
Respect updated default CypherDSL dialect.
With the major version upgrade of the CypherDSL, the new default dialect is Neo4j_5. Older targeted Neo4j versions (4.x) need to have an explicit dialect set to Neo4j_4. Signed-off-by: Gerrit Meier <meistermeier@gmail.com>
1 parent dec5533 commit afbb077

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/main/antora/modules/ROOT/pages/getting-started.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,16 +126,17 @@ SDN repositories will be automatically enabled by this starter.
126126

127127
Depending on the Neo4j version you are running your application with,
128128
it is advised to configure the dialect Neo4j Cypher-DSL runs with.
129-
The default dialect that is used is targeting Neo4j 4.4. as the LTS version of Neo4j.
129+
The default dialect that is used is targeting Neo4j 5 as the LTS version of Neo4j.
130+
It's compatible with Neo4j 5.23+ and Neo4j 2025.x.
130131
This can be changed by defining a Cypher-DSL `Configuration` bean.
131132

132-
.Make Cypher-DSL use the Neo4j 5 dialect
133+
.Make Cypher-DSL use the Neo4j 4 dialect
133134
[source,java]
134135
----
135136
@Bean
136137
Configuration cypherDslConfiguration() {
137138
return Configuration.newConfig()
138-
.withDialect(Dialect.NEO4J_5).build();
139+
.withDialect(Dialect.NEO4J_4).build();
139140
}
140141
----
141142

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /