HHH-12692 SessionImpl#toString - remove overly verbose output
Is toString used, if so, when do we need to see the actionQueue or persistenceContext? TRACE?
This commit is contained in:
parent
adb81781ca
commit
a0633b84fe
|
@ -2316,10 +2316,14 @@ public final class SessionImpl
|
|||
StringBuilder buf = new StringBuilder( 500 )
|
||||
.append( "SessionImpl(" );
|
||||
if ( !isClosed() ) {
|
||||
if(TRACE_ENABLED) {
|
||||
buf.append( persistenceContext )
|
||||
.append( ";" )
|
||||
.append( actionQueue );
|
||||
}
|
||||
else
|
||||
buf.append("<open>");
|
||||
}
|
||||
else {
|
||||
buf.append( "<closed>" );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue