Update wikipage Persistence, storage, and retrieval. (Signed-off-by:b-meyer).

git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@1829 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
eiffel-org
2017-05-26 12:08:01 +00:00
parent 906c605c5f
commit 0d95ff5a54

View File

@@ -7,9 +7,11 @@ Most object-oriented applications need the ability to store object structures on
A fundamental requirement on object persistence mechanisms is the ''Persistence Completeness'' rule, stated as follows in ''[[Eiffel: The Language]]'':
Whenever an object is stored into an external file, the stored content contains all the dependents of that object. Conversely, retrieving a previously stored object also retrieves all its dependents.
<blockquote>Whenever an object is stored into an external file, the stored content contains all the dependents of that object. Conversely, retrieving a previously stored object also retrieves all its dependents.
</blockquote>
<blockquote>
Storing an object just by itself would usually result in wrong semantics: most objects contain references to other objects, which must also be stored and retrieved with it. The persistence completeness rule ensures that this is always the case. It also means, of course, that features used for storing and retrieving objects must do much more than simple input and output; they must perform complete traversals of object structures.
</blockquote>
=Varieties of store operations=