// There are at least some changes ...
ExecutionContext context = getContext();
String id = context.getId();
String username = context.getSecurityContext().getUserName();
NamespaceRegistry registry = context.getNamespaceRegistry();
if (username == null) username = "<anonymous>";
SAVE_LOGGER.trace("Save #{0} (part of transaction '{1}') by session {2}({3}) is persisting the following changes:",
s, txn, username, id);
for (NodeKey key : firstNodesInOrder) {
SessionNode node = changedNodes.get(key);