@@ -476,10 +476,11 @@ protected virtual void CompleteTransaction(bool isCommitted)
476
476
// Throwing would give up attempting to close the session if need be, which may still succeed. So,
477
477
// just log an error.
478
478
_logger . Error (
479
- "A synchronization timeout occurred at transaction completion: the session is still processing. Attempting " +
480
- "to finalize the transaction concurrently, which may cause thread safety failure. You may " +
481
- "raise {0} if it is set too low. It may also be a limitation of the data provider, like not " +
482
- "supporting transaction scope timeouts occurring on concurrent threads." ,
479
+ "A synchronization timeout occurred at transaction completion: the session is still processing. " +
480
+ "Attempting to finalize the transaction concurrently, which may cause a thread concurrency failure. " +
481
+ "You may raise {0} if it is set too low. It may also be a limitation of the data provider, " +
482
+ "like locks applied on its side while processing transaction cancellations occurring on concurrent threads, " +
483
+ "thus preventing the session to finish its current processing during a transaction cancellation." ,
483
484
Cfg . Environment . SystemTransactionCompletionLockTimeout ) ;
484
485
}
485
486
}
@@ -526,10 +527,11 @@ protected virtual void CompleteTransaction(bool isCommitted)
526
527
if ( isSessionProcessing )
527
528
{
528
529
throw new HibernateException (
529
- "A synchronization timeout occurred at transaction completion: the session was still processing. You may " +
530
- $ "raise { Cfg . Environment . SystemTransactionCompletionLockTimeout } if it is set too low. It may also " +
531
- "be a limitation of the data provider, like not supporting transaction scope timeouts occurring on " +
532
- "concurrent threads." ) ;
530
+ "A synchronization timeout occurred at transaction completion: the session was still processing. " +
531
+ $ "You may raise { Cfg . Environment . SystemTransactionCompletionLockTimeout } if it is set too low. " +
532
+ "It may also be a limitation of the data provider, " +
533
+ "like locks applied on its side while processing transaction cancellations occurring on concurrent threads, " +
534
+ "thus preventing the session to finish its current processing during a transaction cancellation." ) ;
533
535
}
534
536
}
535
537
0 commit comments