You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: org.springframework.transaction/src/main/java/org/springframework/transaction/support/AbstractPlatformTransactionManager.java
+4-7Lines changed: 4 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2010 the original author or authors.
2
+
* Copyright 2002-2011 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -847,15 +847,13 @@ else if (status.isNewTransaction()) {
847
847
elseif (status.hasTransaction()) {
848
848
if (status.isLocalRollbackOnly() || isGlobalRollbackOnParticipationFailure()) {
849
849
if (status.isDebug()) {
850
-
logger.debug(
851
-
"Participating transaction failed - marking existing transaction as rollback-only");
850
+
logger.debug("Participating transaction failed - marking existing transaction as rollback-only");
852
851
}
853
852
doSetRollbackOnly(status);
854
853
}
855
854
else {
856
855
if (status.isDebug()) {
857
-
logger.debug(
858
-
"Participating transaction failed - letting transaction originator decide on rollback");
856
+
logger.debug("Participating transaction failed - letting transaction originator decide on rollback");
859
857
}
860
858
}
861
859
}
@@ -885,8 +883,7 @@ else if (status.hasTransaction()) {
885
883
* @throws TransactionException in case of rollback failure
0 commit comments