[
https://issues.apache.org/jira/browse/CAMEL-10452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15699835#comment-15699835
]
Zoran Regvart commented on CAMEL-10452:
---------------------------------------
The Salesforce does not support selecting all fields using wildcard character
so this would require metadata on the fields one SObject contains. One way to
get those is by using reflection. I'm thinking that the Salesforce component
could use a more _formal_ way of getting metadata, like metadata in properties
file or annotation on object -- all of which could be generated by the
salesforce-maven-plugin. I think there is a need for this, especially when the
API requires the use of plural forms (such as composite API).
> camel-salesforce: Add an option to simulate SELECT * from
> ---------------------------------------------------------
>
> Key: CAMEL-10452
> URL: https://issues.apache.org/jira/browse/CAMEL-10452
> Project: Camel
> Issue Type: Improvement
> Components: camel-salesforce
> Reporter: Luca Burgazzoli
> Assignee: Zoran Regvart
> Priority: Minor
> Fix For: 2.19.0
>
>
> As today it is not possible to run a query like SELECT * from but one is
> forced to list all the field he want.
> It would be nice to auto generate a statement using SObject meta data so one
> can write:
> from("salesforce:stream?SObjectName=Case&SObjectQueryFromName=true")
> to get all the fields the SObjectName supports.
> [~dhirajsb] what do you think ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)