[
https://issues.jboss.org/browse/TEIID-3112?page=com.atlassian.jira.plugin...
]
Matus Makovy reopened TEIID-3112:
---------------------------------
Today I tried to reproduce other bug(originaly reported for Teiid Designer) with DV 6.2
(GA), but I got this error:
??Didn't understand relationship 'Opportunitys' in FROM part of query call. If
you are attempting to use a custom relationship, be sure to append the '__r' after
the custom relationship name. Please reference your WSDL or the describe call for the
appropriate names??
when trying to submit this query:
??
select distinct YEAR("Opportunity"."CloseDate") as
"Opportunity_CloseDate1" from "SalesForceSource".salesforce.Campaign
AS "Campaign" LEFT OUTER JOIN
"SalesForceSource".salesforce.Opportunity AS "Opportunity" ON
Campaign."Id" = Opportunity."CampaignId" order by
YEAR("Opportunity"."CloseDate") ASC LIMIT 0 , 32??
This should be fixed in dv6.2, am I right ?
Incorrect plural name with parent to child join
-----------------------------------------------
Key: TEIID-3112
URL:
https://issues.jboss.org/browse/TEIID-3112
Project: Teiid
Issue Type: Bug
Components: Salesforce Connector
Affects Versions: 7.7
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.9, 8.7.2, 8.7.1.6_2
The salesforce logic assumes the plural name can be created with just an 's' at
the end, however objects such as Opportunity do not follow that pattern.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)