[teiid-designer-dev] TEIID-2365 Designer impact

Steven Hawkins shawkins at redhat.com
Wed Jul 17 07:25:37 EDT 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.).


More information about the teiid-designer-dev mailing list