Skip to content

5.5.0

Compare
Choose a tag to compare
@injectives injectives released this 27 Jan 17:32
· 156 commits to 5.0 since this release
589296f

The main feature of this release is a new experimental API that offers a convenient query execution option within a managed transaction with automatic retries on errors eligible for retrying.

Sample usage:

var eagerResult = driver.queryTask("CREATE (n{field: $value}) RETURN n")
                    .withParameters(Map.of("value", "5"))
                    .execute();

In addition, it is also possible to provide a java.util.stream.Collector implementation to collect Records to a desired final value:

var result = driver.queryTask("UNWIND range(0, 5) as N RETURN N")
        .execute(Collectors.mapping(record -> record.get("N").asLong(), Collectors.toList()));

See the QueryTask documentation for more details.

If you would like to share your feedback on this new API, please see the following discussion.

⭐ New Features


👏 Improvements


  • Stop printing stacktrace in GraphDatabaseTest #1364

🔧 Dependency Management


  • Update dependencies #1368