public void setIdentity(Db4oDatabase identity) { synchronized (lock()) { _systemData.identity(identity); // The dirty TimeStampIdGenerator triggers writing of // the variable part of the systemdata. We need to // make it dirty here, so the new identity is persisted: _timeStampIdGenerator.generate(); _fileHeader.writeVariablePart(this); } }
public Db4oDatabase identity() { return _systemData.identity(); }