... |
<!-- VDB properties --> |
<property name="UseConnectorMetadata" name="lib" value="..." /> |
<import-vdb name="..." version="..." import-data-policies="TRUE|FALSE"/> |
... |
*Property Elements* |
* _UseConnectorMetadata_ _cache-metadata_ |
Setting to use connector supplied metadata. Can be "true" or "cached". "true" will obtain metadata once for every launch of Teiid. "cached" will save a file containing the metadata into the PROFILE{{/data/teiid}} directory |
Can be "true" or "false". defaults to "false" for -vdb.xml deployments otherwise "true". If "false", Teiid will obtain metadata once for every launch of the vdb. "true" will save a file containing the metadata into the PROFILE{{/data/teiid}} directory |
* _query-timeout_ |
... |
A VDB or virtual database definition is contained in an XML file. For .vdb archive files created in the design tool, this file is embedded in the archive and most field can be updated through tooling. The XML schema for this file can be found in the teiid-docs/schema directory.
<vdb name="${vdb-name}" version="${vdb-version}"> <!-- VDB properties --> <property name="lib" value="..." /> <import-vdb name="..." version="..." import-data-policies="TRUE|FALSE"/> <!-- define a model fragment for each data source --> <model name="${model-name}"> <property name="..." value="..." /> <source name="${source-name}" translator-name="${translator-name}" connection-jndi-name="${deployed-jndi-name}"> </model> <!-- create translator instances that override default properties --> <translator name="${translator-name}" type="${translator-type}" /> <property name="..." value="..." /> </translator> </vdb>
Attributes
Property Elements
Attributes
Attributes
Source Element
A source is a named binding of a translator and connection source to a model.
Property Elements
Attributes
Property Elements