StrictlyUseBoltScheme

Default Value Data Type Required

false

Boolean

No

Description

This property specifies whether the connector uses the bolt:// scheme for connection.

  • true: The connector only attempts to connect using the bolt:// scheme.
  • false: The connector attempts to connect using the neo4j://scheme. If the connection fails, the connector then attempts to connect using the bolt:// scheme.

We recommend that you use the bolt:// scheme to connect to a standalone endpoint, and the neo4j:// scheme to connect to a clustered endpoint.

The following table describes how the connector behaves in each scenario.

StrictlyUseBoltScheme Value Server Version Behavior
false (default) 4.x
  1. The connector attempts to connect using the neo4j:// scheme.
    1. Whether the endpoint is a clustered or a standalone endpoint, the connection is established, as the neo4j:// scheme is designed to work with any Neo4j 4.x server.
  2. The database name is the name provided in the JDBC connection string. However:
    1. If an invalid database is provided, an error is displayed.
    2. If no database name is provided, the connector retrieves and uses the database name from the Neo4j server.