Skip to content

Commit fc3d25d

Browse files
committed
Properly document spring.data.neo4j.open-in-view's default value
Closes gh-10826
1 parent 37d229b commit fc3d25d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
"name": "spring.data.neo4j.open-in-view",
200200
"type": "java.lang.Boolean",
201201
"description": "Register OpenSessionInViewInterceptor. Binds a Neo4j Session to the thread for the entire processing of the request.",
202-
"defaultValue": false
202+
"defaultValue": true
203203
},
204204
{
205205
"name": "spring.data.neo4j.repositories.enabled",

spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ content into your application; rather pick only the properties that you need.
600600
# NEO4J ({sc-spring-boot-autoconfigure}/data/neo4j/Neo4jProperties.{sc-ext}[Neo4jProperties])
601601
spring.data.neo4j.compiler= # Compiler to use.
602602
spring.data.neo4j.embedded.enabled=true # Enable embedded mode if the embedded driver is available.
603-
spring.data.neo4j.open-in-view=false # Register OpenSessionInViewInterceptor. Binds a Neo4j Session to the thread for the entire processing of the request.
603+
spring.data.neo4j.open-in-view=true # Register OpenSessionInViewInterceptor. Binds a Neo4j Session to the thread for the entire processing of the request.
604604
spring.data.neo4j.password= # Login password of the server.
605605
spring.data.neo4j.repositories.enabled=true # Enable Neo4j repositories.
606606
spring.data.neo4j.uri= # URI used by the driver. Auto-detected by default.

0 commit comments

Comments
 (0)