Commit 6064eda6 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #7994 from vpavic:fix-docs

* pr/7994:
  Fix Neo4j session documentation
parents de912c4c caa9cdcc
......@@ -3495,13 +3495,13 @@ persistence for the embedded mode:
[[boot-features-neo4j-ogm-session]]
==== Neo4jSession
By default, the lifetime of the session is scoped to the application. If you are running a
web application, you can change it so that the session is bound to the thread for the
entire processing of the request (i.e. the "Open Session in View" pattern):
By default, if you are running a web application, the session is bound to the thread for
the entire processing of the request (i.e. the "Open Session in View" pattern). If you
don't want this behavior add the following to your `application.properties`:
----
spring.data.neo4j.open-in-view=true
spring.data.neo4j.open-in-view=false
----
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment