[ 
https://issues.apache.org/jira/browse/CAMEL-17125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jeremy Ross resolved CAMEL-17125.
---------------------------------
    Resolution: Fixed

> camel-salesforce: Improve support for polymorphic relationship queries
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-17125
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17125
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-salesforce
>    Affects Versions: 3.12.0
>            Reporter: Jeremy Ross
>            Assignee: Jeremy Ross
>            Priority: Major
>             Fix For: 3.13.0
>
>
> Salesforce has the notion of [polymorphic 
> relationships|https://developer.salesforce.com/docs/atlas.en-us.232.0.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_relationships_and_polymorph_keys.htm]
>  in which a particular relationship can refer to records of a set of types. 
> E.g., The Owner relationship can often refer to a User, Group or Calendar. 
> When querying for an object (record) that has a polymorphic relationship, 
> Camel currently deserializes the related object to the superclass 
> AbstractDescribedSObjectBase, throwing away all the subclass-specific data. 
> However, the query result contains type information about the related object, 
> therefore, using this type information, we should be able to deserialize to 
> the specific subclass.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to