Jump to: navigation, search

Difference between revisions of "ReferenceReplication"


m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
A [[Reference]] [[ReplicationConfiguration|Replication configuration]] defines how to replicate (copy) objects being referenced by or referencing an (source) object. The configuration itself is done on the [[SYSREL_REPLICATION_REFERENCE (Relation Data)|relational data]] between two [[InstanceReplication|Instance Replication]] objects related via [[SYSREL_REPLICATION_REFERENCE|Reference Replication]] relation.
+
A [[Reference]] [[ReplicationConfiguration|Replication configuration]] defines how to replicate (copy) objects being referenced by or referencing an (source) object. The configuration itself is done on the [[SYSREL_REPLICATION_REFERENCE (Relation Data)|relational data]] between two [[InstanceReplication|Instance Replication]] objects related via [[SYSREL_REPLICATION_REFERENCE|Reference Replication]] relation.{{Version/ServerSince|2.5.1}}
 
+
Available {{Version/ServerSince|2.5.1}}.
+
  
 
The mechanism provides the possibility to configure and control the detailed replication behavior as:
 
The mechanism provides the possibility to configure and control the detailed replication behavior as:
Line 22: Line 20:
 
{{Category/Version|2.5.1}}
 
{{Category/Version|2.5.1}}
  
[[Category:Version 2.5|ReferenceReplication]]
+
[[Category:2.5.1|ReferenceReplication]]
 
[[Category:UBIK Object|ReferenceReplication]]
 
[[Category:UBIK Object|ReferenceReplication]]

Latest revision as of 15:16, 2 May 2016

A Reference Replication configuration defines how to replicate (copy) objects being referenced by or referencing an (source) object. The configuration itself is done on the relational data between two Instance Replication objects related via Reference Replication relation.

The mechanism provides the possibility to configure and control the detailed replication behavior as:

Configuration

Forward Reference

Forward reference means that the source object carries the property refering to a child. It is necessary to configure the name of the reference property. Once the source object gets replicated, the referenced child will be replicated as well based on the configuration of the used reference replication configuration.

IC Hint square.pngIf you want the new replicated instance to refer to the same child as its source, you have to configure a simple property replication but must not use a reference replication!

Reverse Reference

reverse reference means that there are one or more children objects carriing the property refering to a source. It is necessary to configure the name of the reference property. Once the source object gets replicated, every single child refering to it will be replicated as well based on the configuration of the used reference replication configuration.

IC Attention.pngFor evaluation of reverse references the target Metaclass of the instance replication is used. Make sure that the referenced type carries the reference property!

See also