neo4j/src/test/java/rxtx/plain/Neo4jTransactionTypesTests.java
/**
		 * Delegates things to the driver:
		 * Transaction functions are able to handle connection problems and transient
		 * errors using an automatic retry mechanism. Can deal with leader relections inside
		 * a cluster and similar transient errors.
		 */
Delegates things to the driver:
Transaction functions are able to handle connection problems and transient
errors using an automatic retry mechanism. Can deal with leader relections inside
a cluster and similar transient errors.
Delegates things to the driver : Transaction functions are able to handle connection problems and transient errors using an automatic retry mechanism . Can deal with leader relections inside a cluster and similar transient errors .
@Test
		void txFunctions() {
			try (Session session = driver.session()) {
				long personId = session.writeTransaction(
					tx -> tx.run("CREATE (a:Person {name: $name}) RETURN id(a) as id", parameters("name", NAME))
						.single().get("id").asLong());
			}
		}
@ Test void txFunctions ( ) { try ( Session session = driver . session ( ) ) { long personId = session . writeTransaction ( tx -> tx . run ( "CREATE (a:Person {name: $name}) RETURN id(a) as id" , parameters ( "name" , NAME ) ) . single ( ) . get ( "id" ) . asLong ( ) ) ; } }
Delegates things to the driver:
 Transaction functions are able to handle connection problems and transient
 errors using an automatic retry mechanism.
Delegates things to the driver : Transaction functions are able to handle connection problems and transient errors using an automatic retry mechanism .