diff --git a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 938b5cf74b0..1d778b1f7a7 100644 --- a/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -4385,9 +4385,9 @@ properties, as shown in the following example: spring.data.neo4j.password=secret ---- -You can take full control over the session creation by adding a -`org.neo4j.ogm.config.Configuration` `@Bean`. Also, adding a `@Bean` of type -`SessionFactory` disables the auto-configuration and gives you full control. +You can take full control over the session creation by either adding a +`org.neo4j.ogm.config.Configuration` bean or a `org.neo4j.ogm.session.SessionFactory` +bean.