PlainChangesLog statesLog = (PlainChangesLog)changes;
if (log.isDebugEnabled())
log.debug("save() " + this + " txStarted: " + txStarted() + "\n====== Changes ======\n"
+ (statesLog != null ? "\n" + statesLog.dump() : "[NULL]") + "=====================");
if (txStarted())
transactionLog.addLog(statesLog);
else
storageDataManager.save(new TransactionChangesLog(statesLog));