> Yes. Your assumptions below are wrong because every table in Midgard (and > 'sitegroup' table isn't an exception) has autoincremented primary key.
I rather tried for a binary selection than just for two assumptions. This makes it sometimes easier to answer question (to exchange or not to exchange ). > You can't assign value to this attribute of topic without giving into > account real records in 'sitegroup' table. This value (topic.sitegroup) is > a link to real record in 'sitegroup' table with the same id (sitegroup.id) > as this value, i.e. topic.sitegroup = sitegroup.id for given id. > okay. My selection became clearer to me since during import the topic.sitegroup field should be adjusted to the new sitegroup.id that has been autoincremented. True ? > I'm talking about sitegroups as resources themselves (what they actually > are in Midgard). You're trying to say about links to particular sitegroup > using its unique ID in 'sitegroup' table. These links are visible in other Yes. I was afraid that all new records imported to a new sitegroup wouldnot get the sitegroup field up to date with the new sitegroup.id > tables as 'sitegroup' field of record. Repligard ensures that sitegroup > (which is specified in XML file by its GUID) exists on the target by GUID, > not ID. It converts GUID to ID then using already existing table > 'repligard' on the target and uses resulting value as value of sitegroup > field in corresponding resource record. wait. you said that the import of new sitegroup object with a new GUID works like all records created with new ids by autoincrement (exchange). Now you say that the new ID for the new sitegroup is converted from its GUID (this means no exchange because the new ID is only derived from the GUID )? exchanged or not exchanged ? dieter -- Kind regards Dieter Heine Systemadministration Unix Astrium GmbH Raumfahrt Bremen EMail: [EMAIL PROTECTED] Fax: 49 421 539 5698 Phone: 49 421 539 4989 User Help Desk Astrium Hamburg Phone (office Bremen): on request --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
