This content has been marked as final.
Show 2 replies
-
1. Re: Datasource server timezone
rareddy Oct 7, 2011 8:38 AM (in response to nsabina)Sabina,
Yes. Have you thought about using the "DatabaseTimezone" translator property to define the source database location? See the override translator properties to define the timezone for each source, then time will be automatically converted to the server timezone. Check out the "Translator Overrides" tab on the vdb editor in the Teiid Designer to override the property.
If u are using "multi-source" feature, then there may not be tooling for this, but you can accomplish same thing by editing the vdb.xml file in the .vdb file.
Basically in your vdb.xml you extend the translator like
<translator description="" type="oracle" name="oracle-central"> <property value="GMT-6" name="DatabaseTimeZone"/> </translator> and use "oracle-central" as translator name on your source.
Ramesh..
-
2. Re: Datasource server timezone
nsabina Jan 17, 2012 2:37 AM (in response to rareddy)Thank you Ramesh