Properly document spring.data.neo4j.open-in-view's default value

Closes gh-10826
This commit is contained in:
Stephane Nicoll 2017-10-30 16:22:10 +01:00
parent 37d229b1d6
commit fc3d25d705
2 changed files with 2 additions and 2 deletions

View File

@ -199,7 +199,7 @@
"name": "spring.data.neo4j.open-in-view",
"type": "java.lang.Boolean",
"description": "Register OpenSessionInViewInterceptor. Binds a Neo4j Session to the thread for the entire processing of the request.",
"defaultValue": false
"defaultValue": true
},
{
"name": "spring.data.neo4j.repositories.enabled",

View File

@ -600,7 +600,7 @@ content into your application; rather pick only the properties that you need.
# NEO4J ({sc-spring-boot-autoconfigure}/data/neo4j/Neo4jProperties.{sc-ext}[Neo4jProperties])
spring.data.neo4j.compiler= # Compiler to use.
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.open-in-view=true # 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.
spring.data.neo4j.repositories.enabled=true # Enable Neo4j repositories.
spring.data.neo4j.uri= # URI used by the driver. Auto-detected by default.