[
https://issues.apache.org/jira/browse/CAMEL-15884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-15884.
---------------------------------
Resolution: Fixed
> camel-salesforce: include all related objects in generated DTOs
> ---------------------------------------------------------------
>
> Key: CAMEL-15884
> URL: https://issues.apache.org/jira/browse/CAMEL-15884
> Project: Camel
> Issue Type: Bug
> Components: camel-salesforce
> Affects Versions: 3.6.0
> Reporter: Jeremy Ross
> Priority: Major
> Fix For: 3.7.0
>
>
> Generated DTOs do not have a reference to related objects if the related
> object does not have at least one external ID field. The logic for this was
> probably that you can't use a related object in upserts if that related
> object doesn't have an external Id field. There are two issues with this. 1)
> you can upsert on the standard `Id` field, and 2) there's nowhere to put the
> related objects returned in a parent-to-child relationship query.
> e.g. the result from this query
> {code}
> SELECT Id, RecordType.Name FROM Contact
> {code}
> will not contain the RecordType object, because RecordType was not in the DTO
> Java class.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)