//------------------------------------------------------- void PersistenceHandler::Write(const Safir::Dob::EntityProxy& entityProxy, const bool update) { m_debug << "Will try to persist entity " << entityProxy.GetEntityId() << std::endl; const char* blob = entityProxy.GetBlob(); Safir::Dob::Typesystem::BinarySerialization bin = std::vector<char>(blob,blob+Safir::Dob::Typesystem::Internal::BlobOperations::GetSize(blob)); Store(entityProxy.GetEntityId(), entityProxy.GetOwner(), bin, update); }