mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 07:12:25 +01:00
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:
@@ -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]]'':
|
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.
|
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=
|
=Varieties of store operations=
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user