Re: [DAS] incomplete implementation of Relationships and so errors

2007-10-24 Thread Amita Vadhavkar
Thanks Adriano, as you have mentioned, there is a mapping available for Table-Type and Column-Property in Table element in DAS Config. So there is no need to duplicate it in Relationship and KeyPair and it can be referenced from Table when available. The logic used to fix the issue, such that, in

Re: [DAS] incomplete implementation of Relationships and so errors

2007-10-24 Thread Adriano Crestani
Great ; ) Adriano Crestani On 10/24/07, Amita Vadhavkar [EMAIL PROTECTED] wrote: Thanks Adriano, as you have mentioned, there is a mapping available for Table-Type and Column-Property in Table element in DAS Config. So there is no need to duplicate it in Relationship and KeyPair and it

[DAS] incomplete implementation of Relationships and so errors

2007-10-23 Thread Amita Vadhavkar
In RDB DAS, the config model has relationship definition as below:- xsd:complexType name=Relationship xsd:sequence xsd:element maxOccurs=unbounded minOccurs=0 name=KeyPair type=config:KeyPair/ /xsd:sequence xsd:attribute name=name type=xsd:string/

Re: [DAS] incomplete implementation of Relationships and so errors

2007-10-23 Thread Adriano Crestani
Hi Amita, On DAS C++ when a relationship is found, for example, between table A and table B, it looks for their Table object in the Config, then, it it's defined on the Config their type name can be retrieved using tableA.getTypeName(). The same happens for the Column. It only assumes the type