[
https://issues.jboss.org/browse/TEIIDDES-1786?page=com.atlassian.jira.plu...
]
Barry LaFond updated TEIIDDES-1786:
-----------------------------------
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.).
was:Parsed objects retain much of the original parse string, which is generally
unnecessary on the server side. The use of output names should reduced to unnecessary
memory consumption.
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: Steven Hawkins
Priority: Minor
Fix For: 8.3
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.).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira