Skip to content

Commit 8632e1a

Browse files
authored
Update SessionConfig.withDatabase documentation (addition) (#1336)
1 parent 08d6928 commit 8632e1a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

driver/src/main/java/org/neo4j/driver/SessionConfig.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,8 @@ public Builder withDefaultAccessMode(AccessMode mode) {
253253
* in a straightforward way and potentially simplifies driver logic as well as reduces network communication
254254
* resulting in better performance.
255255
* <p>
256+
* Usage of Cypher clauses like USE is not a replacement for this option. Driver sends Cypher to the server for processing.
257+
* <p>
256258
* When no explicit name is set, the driver behavior depends on the connection URI scheme supplied to the driver
257259
* on instantiation and Bolt protocol version.
258260
* <p>

0 commit comments

Comments
 (0)