1 of 1 people found this helpful
Only "PHYSICAL" models can be backed by a Translator based metadata. i.e. Custom translators can only define the metadata for the PHYSICAL models, not VIRTUAL models. If your model is PHYSICAL then setting below will work
Now some background
Teiid defines two different types of in-built Metadata Repositories,
* NATIVE - Load from Translator works for PHYSICAL models
* DDL - Metadata is presented in the DDL form, works for both PHYSICAL and VIRTUAL models
Alternatively, User also has flexibility to define their own custom MetadataRepository for metadata loading purposes. See https://docs.jboss.org/author/display/TEIID/Custom+Metadata+Repository
So, if you want to provide metadata for for your VIRTUAL model, then you have two choices.
# Provide the metadata in the form of DDL
# Write a custom metadata repository as defined in the above link.