Skip to content

Commit

Permalink
Make prepareSynchronization overridable again
Browse files Browse the repository at this point in the history
Closes gh-32000
  • Loading branch information
jhoeller committed Jan 10, 2024
1 parent fdfa428 commit 79cc0ec
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -571,7 +571,7 @@ private DefaultTransactionStatus newTransactionStatus(
/**
* Initialize transaction synchronization as appropriate.
*/
private void prepareSynchronization(DefaultTransactionStatus status, TransactionDefinition definition) {
protected void prepareSynchronization(DefaultTransactionStatus status, TransactionDefinition definition) {
if (status.isNewSynchronization()) {
TransactionSynchronizationManager.setActualTransactionActive(status.hasTransaction());
TransactionSynchronizationManager.setCurrentTransactionIsolationLevel(
Expand Down

0 comments on commit 79cc0ec

Please sign in to comment.