[
https://issues.apache.org/jira/browse/CAMEL-11310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoran Regvart resolved CAMEL-11310.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.20.0
The descriptions generated in DTOs now contain a limited number of properties,
and the field descriptions are generated using a static method in order to
reduce code repetition and as a result code size.
> "code too large" when generating Salesforce DTOs
> ------------------------------------------------
>
> Key: CAMEL-11310
> URL: https://issues.apache.org/jira/browse/CAMEL-11310
> Project: Camel
> Issue Type: Improvement
> Components: camel-salesforce
> Affects Versions: 2.19.0
> Reporter: Roman Kalashnikov
> Assignee: Zoran Regvart
> Fix For: 2.19.1, 2.20.0
>
>
> When generating DTO for a big Salesforce object (186 fields), encountered:
> {noformat}
> COMPILATION ERROR :
> -------------------------------------------------------------
> ... Big__c.java:[2333,39] code too large
> {noformat}
> Generated createSObjectDescription method has more than 8000 lines of code
> and I guess it hits the 64k bytes method bytecode size limit.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)