[teiid-issues] [JBoss JIRA] (TEIID-2002) Dynmamic Metadata load failure with Sales Force data source

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Tue Apr 17 15:46:21 EDT 2012


     [ https://issues.jboss.org/browse/TEIID-2002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ramesh Reddy resolved TEIID-2002.
---------------------------------

    Resolution: Done


The data type string matching was done aginst the enum with equals method and it was failiing. Changed it to string value of the enum for string vs string comparision to fix the issue.
                
> Dynmamic Metadata load failure with Sales Force data source
> -----------------------------------------------------------
>
>                 Key: TEIID-2002
>                 URL: https://issues.jboss.org/browse/TEIID-2002
>             Project: Teiid
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 8.0
>            Reporter: Mark Drilling
>            Assignee: Ramesh Reddy
>             Fix For: 8.0
>
>         Attachments: dynamic-portfolio-vdb.xml, server.log, standalone-teiid.xml
>
>
> 11:33:08,394 ERROR [org.teiid.CONNECTOR] (teiid-async-threads - 1) TEIID13001 Unknown type returned by SalesForce: boolean
> 11:33:08,394 ERROR [org.teiid.CONNECTOR] (teiid-async-threads - 1) TEIID13001 Unknown type returned by SalesForce: string
> 11:33:08,396 ERROR [org.jboss.threads.executor] (teiid-async-threads - 1) Task execution failed for task org.teiid.jboss.VDBService$2 at 18761e4d: java.lang.RuntimeException: ERROR !!primary key column not found!!
> 	at org.teiid.translator.salesforce.MetadataProcessor.addRelationships(MetadataProcessor.java:92)
> 	at org.teiid.translator.salesforce.MetadataProcessor.processMetadata(MetadataProcessor.java:76)
> 	at org.teiid.translator.salesforce.SalesForceExecutionFactory.getMetadata(SalesForceExecutionFactory.java:119)
> 	at org.teiid.translator.salesforce.SalesForceExecutionFactory.getMetadata(SalesForceExecutionFactory.java:1)
> 	at org.teiid.query.metadata.NativeMetadataRepository.loadMetadata(NativeMetadataRepository.java:61) [teiid-engine-8.0.0.CR2-SNAPSHOT.jar:8.0.0.CR2-SNAPSHOT]
> 	at org.teiid.jboss.VDBService$2.run(VDBService.java:322) [teiid-jboss-integration-8.0.0.CR2-SNAPSHOT.jar:8.0.0.CR2-SNAPSHOT]
> 	at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33)
> 	at org.jboss.threads.QueueExecutor.runTask(QueueExecutor.java:801)
> 	at org.jboss.threads.QueueExecutor.access$100(QueueExecutor.java:45)
> 	at org.jboss.threads.QueueExecutor$Worker.run(QueueExecutor.java:821)
> 	at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]
> 	at org.jboss.threads.JBossThread.run(JBossThread.java:122)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list