HHH-13737 : Add debug logging
This commit is contained in:
parent
c02011ef40
commit
7d8549d8aa
|
@ -3348,7 +3348,13 @@ public final class SessionImpl
|
|||
}
|
||||
catch ( JDBCException e ) {
|
||||
if ( accessTransaction().isActive() && accessTransaction().getRollbackOnly() ) {
|
||||
// assume this is the similar to the WildFly / IronJacamar "feature" described under HHH-12472
|
||||
// Assume this is the similar to the WildFly / IronJacamar "feature" described under HHH-12472.
|
||||
// Just log the exception and return null.
|
||||
if ( log.isDebugEnabled() ) {
|
||||
log.debug( "JDBCException was thrown for a transaction marked for rollback; " +
|
||||
"this is probably due to IronJacamar failing fast after " +
|
||||
"transaction was marked for rollback.", e );
|
||||
}
|
||||
return null;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue