]
Paul Richardson resolved TEIIDDES-1786.
---------------------------------------
Resolution: Done
Update query metadata interface for update to teiid 8.5 interface
-----------------------------------------------------------------
Key: TEIIDDES-1786
URL:
https://issues.jboss.org/browse/TEIIDDES-1786
Project: Teiid Designer
Issue Type: Task
Reporter: Barry LaFond
Assignee: Paul Richardson
Priority: Minor
Fix For: 8.5, 8.4
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.).