Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions driver/src/main/java/org/neo4j/driver/Session.java
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ default <T> T executeWrite(TransactionCallback<T> callback) {
* The driver will attempt committing the transaction when the provided unit of work completes successfully. Any exception emitted by the unit of work
* will result in a rollback attempt.
* <p>
* The provided unit of work should not return {@link Result} object as it won't be valid outside the scope of the transaction.
* This method works equivalently to {@link #executeWrite(TransactionCallback)}, but does not have a return value.
*
* @param contextConsumer the consumer representing the unit of work.
*/
Expand Down Expand Up @@ -223,7 +223,7 @@ default void executeWriteWithoutResult(Consumer<TransactionContext> contextConsu
* The driver will attempt committing the transaction when the provided unit of work completes successfully. Any exception emitted by the unit of work
* will result in a rollback attempt and abortion of execution unless exception is considered to be valid for retry attempt by the driver.
* <p>
* The provided unit of work should not return {@link Result} object as it won't be valid outside the scope of the transaction.
* This method works equivalently to {@link #executeWrite(TransactionCallback, TransactionConfig)}, but does not have a return value.
*
* @param contextConsumer the consumer representing the unit of work.
* @param config the transaction configuration for the managed transaction.
Expand Down