5 Replies Latest reply on Dec 9, 2012 4:20 AM by Rakesh Balguri

    Re-Fetching teiid metadata

    Rakesh Balguri Expert



      The normal process of fetching metadata for a model is that the getMetadata() is called when the vdb is deployed.

      Now during the VDB deployment if we are unable to connect to the datasource we are adding some dummy metadata to that model so that the VDB is Active and we can access the other models in the VDB.


      Is there a way to tell teiid that the data source is available now and please re-fetch the metadata for that particular model?

      One way to do this is to recycle JBoss so that the vdb is redeployed. We do not want to recycle JBoss and have a mechanism by which we can re-fetch the metadata for that model and after this is done we should ne able to fetch the data from that model.


      Please suggest.