Relationship serialization and reconstruction for entities
First Claim
1. A computer implemented system comprising at least one processor and at least one computer-readable storage medium comprising a magnetic storage device having instructions executable by the at least one processor to implement:
- an entity having a plurality of relationships associated therewith;
a tracking component configured to track information associated with at least one of the plurality of relationships, when serializing or deserializing the entity among multiple tiers of a database, the tracking component configured to preserve the at least one of the plurality of relationships by attaching key information to the entity such that the key information acts as a proxy for a relationship between the entity and a related entity during at least the serializing, wherein a retrieval of a value included in the key information follows either a first retrieval protocol if the entity is in a first state or a second retrieval protocol if the entity is in a second state, the first state corresponding to the entity being included in an attached graph and varying according to whether the value is null or non-null, the second state corresponding to the entity being detached.
3 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods that enable relationship information to be carried along with the entity when serializing/deserializing entities among application tiers. A tracking component tracks information on relationships associated with an entity, and further enables users to perform subsequent change processing on the entity'"'"'s relationship information. Accordingly, relationship information can be carried along with the entity such that database operation can be performed without requirement of additional information from the database (e.g., foreign key information that is part of associated graphs).
15 Citations
14 Claims
-
1. A computer implemented system comprising at least one processor and at least one computer-readable storage medium comprising a magnetic storage device having instructions executable by the at least one processor to implement:
-
an entity having a plurality of relationships associated therewith; a tracking component configured to track information associated with at least one of the plurality of relationships, when serializing or deserializing the entity among multiple tiers of a database, the tracking component configured to preserve the at least one of the plurality of relationships by attaching key information to the entity such that the key information acts as a proxy for a relationship between the entity and a related entity during at least the serializing, wherein a retrieval of a value included in the key information follows either a first retrieval protocol if the entity is in a first state or a second retrieval protocol if the entity is in a second state, the first state corresponding to the entity being included in an attached graph and varying according to whether the value is null or non-null, the second state corresponding to the entity being detached. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A computer-readable storage medium, the computer readable storage medium comprising a magnetic storage device having instructions stored thereon, the instructions configured to, in response to execution by one or more computing devices, cause operations including:
-
during at least a serialization, referencing an entity; associating key information with the referenced entity, the key information indicating a relationship between the referenced entity and another entity; attaching the key information to the referenced entity to serve as a proxy for the referenced entity during at least the serialization, wherein a retrieval of a value included in the key information follows either a first retrieval protocol if the entity is in a first state or a second retrieval protocol if the entity is in a second state, the first state corresponding to the entity being included in an attached graph and varying according to whether the value is null or non-null, the second state corresponding to the entity being detached; and preserving the referencing during serializations or deserializations.
-
Specification