[teiid-dev] Translators in the "vdb.xml" file.

John Verhaeg jverhaeg at redhat.com
Tue May 25 16:14:14 EDT 2010


But how are we supposed to know when to create the fragment or when not to?

On May 25, 2010, at 12:37 PM, Ramesh Reddy wrote:

> On Tue, 2010-05-25 at 12:39 -0500, John Verhaeg wrote:
>> On May 25, 2010, at 11:21 AM, Ramesh Reddy wrote:
>> 
>>> What I forgot mention in the earlier is, if user chooses one of the
>>> default "translators", then there is not really any need to define the
>>> XML fragment for the Translator at all inside the vdb.xml. Which I
>>> suspect in majority of the cases. Only when user wants to alter the
>>> default behavior, Teiid would need the additional translator fragment.
>> 
>> 
>> So presumably there will be some property on the translators that indicates whether its a default translator?
>> 
> 
> You can think of these as "named" translators out-of-the-box, that never
> change between the environments. My thinking is in the absence of the
> translator fragment in the vdb.xml, Teiid will try to resolve against
> the "default" translator list. So, I do not see any need to explicitly
> say that they are default.
> 
> Ramesh..
> 

Thanks,

JPAV






More information about the teiid-dev mailing list