Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-1786

Update query metadata interface for update to teiid 8.5 interface

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Minor
    • 8.4, 8.5
    • None
    • None
    • None

    Description

      Per Steve Hawkins 7/17/2013:

      https://issues.jboss.org/browse/TEIID-2365 for 8.5 removed the ResolverVisitor.setFindShortName method so that we don't have to rely on static/ThreadLocal logic. Instead this value can be set via the QueryMetadataInterface method findShortName. A simple usage pattern is:

      QueryMetadataInterface metadata = new BasicQueryMetadataWrapper(metadata){
      public boolean useOutputName()

      { return false; }

      ;
      };
      QueryResolver.resolveCommand(command, metadata);

      Or this could possibly integrated into your workspace metadata in an appropriate manner (considering thread-safe usage, etc.).

      Attachments

        Issue Links

          Activity

            People

              parichar@redhat.com Paul Richardson
              blafond Barry LaFond
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: