Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1270843

Summary: SalesForce importer issue
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Matus Makovy <mmakovy>
Component: ToolingAssignee: Barry LaFond <blafond>
Status: CLOSED NOTABUG QA Contact: Matus Makovy <mmakovy>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: vhalbert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Mac OS   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 13:26:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matus Makovy 2015-10-12 13:51:36 UTC
According to conversation in TEIID-3112 this is a Designer issue. If I understood correctly, it has been fixed in Teiid and now the changes have to be made in TD SF importer.

I have a VDB with Source model that is created via SalesForce importer and I am getting this error:

{quote}
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
{quote}

when trying to submit this query:

{quote}
select distinct YEAR("Opportunity"."CloseDate") as "Opportunity_CloseDate1" from "SalesForceSource".Campaign AS "Campaign" LEFT OUTER JOIN "SalesForceSource".Opportunity AS "Opportunity" ON Campaign."Id" = Opportunity."CampaignId" order by YEAR("Opportunity"."CloseDate") ASC LIMIT 0 , 32
{quote}

It works without problems with dynamic VDB.

Comment 1 Barry LaFond 2015-12-07 13:26:13 UTC
Using only JIRA now.  Marking as closed

Comment 2 JBoss JIRA Server 2015-12-07 17:58:12 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2684 to Resolved

Comment 3 JBoss JIRA Server 2016-02-15 14:19:56 UTC
Matus Makovy <mmakovy> updated the status of jira TEIIDDES-2684 to Reopened

Comment 4 JBoss JIRA Server 2016-04-26 19:09:48 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2684 to Resolved

Comment 5 JBoss JIRA Server 2016-08-02 07:34:28 UTC
Matus Makovy <mmakovy> updated the status of jira TEIIDDES-2684 to Closed