diff --git a/driver/src/main/java/org/neo4j/driver/GraphDatabase.java b/driver/src/main/java/org/neo4j/driver/GraphDatabase.java index bf6cdd672b..5d18b6f744 100644 --- a/driver/src/main/java/org/neo4j/driver/GraphDatabase.java +++ b/driver/src/main/java/org/neo4j/driver/GraphDatabase.java @@ -141,7 +141,9 @@ static Driver driver(URI uri, AuthToken authToken, Config config, DriverFactory * @param authToken authentication to use, see {@link AuthTokens} * @param config user defined configuration * @return a new driver instance + * @deprecated driver should be configured with initial address resolution as documented in the driver manual */ + @Deprecated public static Driver routingDriver(Iterable routingUris, AuthToken authToken, Config config) { return routingDriver(routingUris, authToken, config, new DriverFactory()); }