SessionImpl.toString is extremely verbose and does not consult TRACE_ENABLED before logging everything including the persistenceContext which can be quite large. Consider using TRACE_ENABLED to determine if that level of detail should be provided. Otherwise, just log the instance id and return. |