Skip to content

Commit

Permalink
test: reproduce transaction validation issue, spring-projects#2953
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoertgen committed Oct 18, 2024
1 parent bf32311 commit 285da5c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,9 @@ public BookmarkCapture bookmarkCapture() {
public PlatformTransactionManager transactionManager(Driver driver, DatabaseSelectionProvider databaseNameProvider) {

BookmarkCapture bookmarkCapture = bookmarkCapture();
return new Neo4jTransactionManager(driver, databaseNameProvider, Neo4jBookmarkManager.create(bookmarkCapture));
Neo4jTransactionManager transactionManager = new Neo4jTransactionManager(driver, databaseNameProvider, Neo4jBookmarkManager.create(bookmarkCapture));
transactionManager.setValidateExistingTransaction(true);
return transactionManager;
}

@Override
Expand Down

0 comments on commit 285da5c

Please sign in to comment.