File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
driver/src/main/java/org/neo4j/driver Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ default <T> T executeWrite(TransactionCallback<T> callback) {
175
175
* The driver will attempt committing the transaction when the provided unit of work completes successfully. Any exception emitted by the unit of work
176
176
* will result in a rollback attempt.
177
177
* <p>
178
- * The provided unit of work should not return {@link Result} object as it won't be valid outside the scope of the transaction .
178
+ * This method works equivalently to {@link #executeWrite(TransactionCallback)}, but does not have a return value .
179
179
*
180
180
* @param contextConsumer the consumer representing the unit of work.
181
181
*/
@@ -223,7 +223,7 @@ default void executeWriteWithoutResult(Consumer<TransactionContext> contextConsu
223
223
* The driver will attempt committing the transaction when the provided unit of work completes successfully. Any exception emitted by the unit of work
224
224
* will result in a rollback attempt and abortion of execution unless exception is considered to be valid for retry attempt by the driver.
225
225
* <p>
226
- * The provided unit of work should not return {@link Result} object as it won't be valid outside the scope of the transaction .
226
+ * This method works equivalently to {@link #executeWrite(TransactionCallback, TransactionConfig)}, but does not have a return value .
227
227
*
228
228
* @param contextConsumer the consumer representing the unit of work.
229
229
* @param config the transaction configuration for the managed transaction.
You can’t perform that action at this time.
0 commit comments