-
1. Re: View Model properties and column level properties in MED
blafond Nov 6, 2012 9:06 AM (in response to jamit)The MED framework only allows extending model contents (table, view, procedure, column etc...). These properties are passed generically through the VDB and are available through Teiid Runtime Metadata for consumption by your custom Translator.
Note that from VDB standpoint, the "Model == Schema". If it will be useful to you to defined properties for your Model/Schema then please log a TEIID Jira.
Note lastly, that extended column properties on a "source" table, do not get propogated/applied to the transformed "view" table.
Barry
Teiid Designer Team
-
2. Re: View Model properties and column level properties in MED
skethire Nov 7, 2012 1:33 PM (in response to blafond)Barry,
I have a related question. Is it possible to apply extended column/table/view/procedure properties to entities in the view model using the designer? I know it can be done using the api.
I am not looking to propagate the extended properties from the source model element to view model elements. I want to set them directly on the view model elements.
I have an application that can use some additional metadata on the view model entities (which standard jdbc does not support). I want to create an MED and apply it to my view model.
Thanks
srini
-
3. Re: View Model properties and column level properties in MED
elvisisking Nov 8, 2012 9:33 AM (in response to skethire)Hi Srini,
When using the "New Model Extension Definition" wizard to create a MED, you can set the model type to be only the "View Model." Also, for existing MEDs, you can use the MED editor to just select "View Model" as the model type. Once you register this MED with the MED registry, its properties should only be available to view models.
HTH,
Dan