diff --git a/driver/pom.xml b/driver/pom.xml index 416f87b604..f0fa8397a2 100644 --- a/driver/pom.xml +++ b/driver/pom.xml @@ -120,7 +120,17 @@ org/neo4j/driver/**/*.java - org.neo4j.driver.internal + org.neo4j.driver.internal + + + if (typeof useModuleDirectories !== 'undefined') { + useModuleDirectories = false; + } + + ]]> + + --allow-script-in-comments diff --git a/driver/src/main/javadoc/overview.html b/driver/src/main/javadoc/overview.html index 63b7176589..61f907ffe3 100644 --- a/driver/src/main/javadoc/overview.html +++ b/driver/src/main/javadoc/overview.html @@ -32,7 +32,7 @@

Example

// and makes handling errors much easier. // Use `session.writeTransaction` for writes and `session.readTransaction` for reading data. // These methods are also able to handle connection problems and transient errors using an automatic retry mechanism. - session.writeTransaction(tx -> tx.run("MERGE (a:Person {name: $x})", parameters("x", name))); + session.writeTransaction(tx -> tx.run("MERGE (a:Person {name: $x})", parameters("x", name))); } } @@ -40,7 +40,7 @@

Example

{ try (Session session = driver.session()) { - // A Managed Transaction transactions are a quick and easy way to wrap a Cypher Query. + // A Managed transaction is a quick and easy way to wrap a Cypher Query. // The `session.run` method will run the specified Query. // This simpler method does not use any automatic retry mechanism. Result result = session.run(